SPOJ-BUGLIFE

Revision en1, by mundada, 2016-05-28 20:09:21

Link to problem. It would be very helpful if someone could suggest why my solution gives the wrong answer. I have understood that we have to find whether the graph is bipartite or not, but still I am getting wrong answers. Any help would be appreciated.

Tags graphs, spoj, bipartite, dfs and similar

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mundada 2016-05-28 20:09:21 334 Initial revision (published)