摘要: 将已经链接的边的权值设为0即可。但是可能会超时,提交的时候,有一次显示超时,所以这个解法是有问题的,看到有171ms的,实力差的太大了,还是得使劲刷题。/*2015-5-18 951ms*/#include#include#includeusing namespace std;#define INF... 阅读全文
posted @ 2015-05-18 20:11 袁汉春 阅读(137) 评论(0) 推荐(0) 编辑