sap+gap优化View Code #include<stdio.h>#include<string.h>#include<algorithm>using namespace std;#define maxn 105#define inf 1000000000int min(int a, int b){ return a < b ? a : b;}struct E{ int v, next, c;}edge[10003 << 1];int head[maxn], tot;int n, m;void add(int s, int t, in Read More
posted @ 2012-07-29 17:49 To be an ACMan Views(229) Comments(0) Diggs(0)