Codeforces Round #339 (Div. 2) A. Link/Cut Tree

Revision en1, by ash_ketchum, 2016-01-14 23:44:14

Well hello guys! Below is the link to my source code for the above problem. http://codeforces.com/contest/614/submission/15376824 I am getting a WRONG_ANSWER on test case 3 after my submission on CodeForces but when I compiled and executed the testcase on my g++ compiler it gave the right answer.Can anyone please tell me why is this happening?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ash_ketchum 2016-01-14 23:50:53 177
en1 English ash_ketchum 2016-01-14 23:44:14 394 Initial revision (published)