Unable to hack a solution

Revision en3, by vidit_jain, 2017-07-14 09:40:10

Hi, I tried to hack a solution of problem A of div2 of round 424 (Based on VK Cup final). In that solution there is an extra 'cin'(in line 4th in int main) in the code which is wrong if n=1 and I think it has to show TLE in that case. I tried test case as follows 1 7 which outputs YES in original case but in that I think the compiler has to wait for another input y but my hack got unsuccessful. Don't know the reason. Can somebody please tell me whats wrong in it? Attached is the link to the code I tried to hack : http://codeforces.com/contest/831/submission/28514528

Thanks :)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English vidit_jain 2017-07-14 09:40:10 94
en2 English vidit_jain 2017-07-13 20:51:50 91
en1 English vidit_jain 2017-07-13 20:45:56 565 Initial revision (published)