随笔分类 - 算法
摘要:Problem H: Road Construction King Mercer is the king of ACM kingdom. There are one capital and some cities in his kingdom. Amazingly, there are no roa
阅读全文
摘要:原题: Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤
阅读全文
摘要:1 并查集: 2 #include<utility> 3 #include<iostream> 4 #include<set> 5 #include<map> 6 #include<vector> 7 #include<queue> 8 #include<cmath> 9 #include<algo
阅读全文

浙公网安备 33010602011771号