代码1:View Code #include<stdio.h>#include<string.h>#include<algorithm>using namespace std;#define maxn 1003#define inf 1<<29struct node{ int v, next, w;}edge[maxn<<1];int head[maxn];int tot;int n, m;void init(){ tot = 0; memset(head, -1, sizeof(head));}void add(int x, int Read More
posted @ 2012-09-17 20:03
To be an ACMan
Views(171)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号