摘要: 邻接矩阵: 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 #define MIN(a,b) (a)<(b)?(a):(b) 5 const int M = 110; 6 const int inf = 0x3fffffff; 7 int n, m, A[1010], pre[1010]; 8 int remain[M][M], h[M], vh[M], S, T, N;39 int DFS( int u, int flow ) 40 {41 if( u == T ) re 阅读全文
posted @ 2013-05-25 10:23 yefeng1627 阅读(313) 评论(0) 推荐(0) 编辑

Launch CodeCogs Equation Editor