|
0
This is what I thought at first. But using 1-indexed ranking also does not work without the sentinel. |
|
0
Why is this true? I see that vertices with the same adjacency lists have the same label but I can't prove that vertices with the same label must have the same adjacency list. |
|
0
What version of C++ is used at main.edu.pl? My code compiles in all versions of C++ in Codeforces and I keep getting compile error. |