摘要: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3367关键按字典序输出。。。死了多少脑细胞啊!!!代码:#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>#define nMAX 102using namespace std;int root[nMAX];int n,s_edge,cnt;struct Edge{ int u,v,w;}edge[nMAX*nMAX],ans[nMAX*n 阅读全文
posted @ 2012-05-07 17:09 快乐. 阅读(158) 评论(0) 推荐(0) 编辑