摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=3549View Code #include<stdio.h>#include<iostream>#include<algorithm>using namespace std;typedef struct {int v,next,val;} edge;const int MAXN=20010;const int MAXM=500010; edge e[MAXM];int p[MAXN],eid; inline void init(){memset(p,-1,sizeof(p) 阅读全文
posted @ 2012-04-10 18:27 huhuuu 阅读(580) 评论(0) 推荐(0) 编辑