摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=3172题意:输出每对朋友的关系网大小并查集的时候维护一个数组记录根节点的大小即可,水题,这题坑在T组数据这个也要读到EOF,开始莫名其妙wa...#include #include #include #includ... 阅读全文
posted @ 2014-11-26 23:23
LegendaryAC
阅读(280)
评论(1)
推荐(0)