0_0_32854585_6696.cpp:3:1: error: missing terminating ' character
The graph given in sample input is a complete graph, that each pair of vertex has an edge connecting them, so there's only 1 connected block at first.
^
0_0_32854585_6696.cpp:1:1: error: 'Hint' does not name a type
Hint
^
|