Codeforces1445 E. Team-Building(可撤销并查集,并查集判奇环)
The new academic year has started, and Berland’s university has ???? first-year students. They are divided into ???? academic groups, however, some of the groups might be empty. Among the students, there are ???? pairs of acquaintances, and each acquaintan
原创
2020-11-06 15:06:03 ·
316 阅读 ·
0 评论