【并查集】Connectivity @ABC049&ARC065/upcexam6492
Connectivity时间限制: 1 Sec 内存限制: 128 MB题目描述There are N cities. There are also K roads and L railways, extending between the cities. The i-th road bidirectionally connects the pi-th and qi-th cities, and...
原创
2018-06-12 21:27:03 ·
362 阅读 ·
0 评论