7 4 2 1 2 0 1 0 0 5 1 1 2 0 1 3 1 3 4 0 1 2 7 1 5 1 6 2 1 4 2 0 6 2 2 5 0 2 1 5 10 2 1 7 2 0 6 1 4 1 9 1 2 2 0 4 0 1 3 1 4 2 2 3 6 2 1 2 2 0 4 3 0 3 4 1 5 3 1 2 5 1 4 19 1 3 2 4 5 2 4 5 0 2 1 6 2 2 6 3 4 5 8 0 3 0 1 6 2 1 7 2 0 13 0 2 11 13 1 12 1 15 1 11 0 2 5 16 2 14 16 19 1 3 2 4 5 2 4 5 0 2 1 6 2 2 6 3 4 5 8 0 3 0 1 6 2 1 7 1 13 0 2 11 13 1 12 1 15 1 11 0 2 5 16 2 14 16 Correct output: --------------- Consistent Not consistent Not consistent Not consistent Consistent Not consistent Consistent Note: Last two graphs are same except that the latter omits edge (10,0), which makes it bipartite, whereas the next-to-last graph is not.