摘要: Portal:http://acm.hdu.edu.cn/showproblem.php?pid=1232 模板题2 DA☆ZE 话说这题跟隔壁的HDU1213有区别吗。。。 话说HDU有中文题orz 话说输入到0为止到底是for(cin>>_;_!=0;cin>>_)还是while(cin>>_) 阅读全文
posted @ 2016-06-28 21:53 MukoiAoi 阅读(109) 评论(0) 推荐(0) 编辑
摘要: Portal:http://acm.hdu.edu.cn/showproblem.php?pid=1213 模板题~开心 第一次写并查集 WA一次,PE一次才AC TAT 1 #include<iostream> 2 #include<algorithm> 3 #include<set> 4 #in 阅读全文
posted @ 2016-06-28 21:35 MukoiAoi 阅读(130) 评论(0) 推荐(0) 编辑