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

Revision en2, by ash_ketchum, 2016-01-14 23:50:53

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?!.Below is a screenshot of the answer that I got for testcase 3 after compiling on g++. (http://codeforces.com/predownloaded/4d/2c/4d2c56826166cb8597ec2f5249162eb3266b58b4.png)

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)