Different answer on Codeforces compiler and local compiler

Revision en1, by akshita007, 2016-07-14 13:20:50

I have the following submission for problem 691D:

http://mirror.codeforces.com/contest/691/submission/19104383

It says wrong answer on test 3.However I get the correct answer on my codeblocks compiler.

Tags dfs, dsu, wrong answer

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English akshita007 2016-07-14 13:20:50 262 Initial revision (published)