CodeForces1243 D.0-1 MST (补图的连通块数量,set+bfs)
D.0-1 MSTUjan has a lot of useless stuff in his drawers, a considerable part of which are his math notebooks: it is time to sort them out. This time he found an old dusty graph theory notebook with a...