abhilash_mandaliya's blog

By abhilash_mandaliya, history, 9 months ago, In English,

http://codeforces.com/contest/749/submission/25673548

I get this error on one test case. My program runs properly on the local machine. Then I submitted this code which worked perfectly

http://codeforces.com/contest/749/submission/25673595

What is the reason for this error?

Thank you.

 
 
 
 
  • Vote: I like it  
  • -3
  • Vote: I do not like it  

»
9 months ago, # |
  Vote: I like it 0 Vote: I do not like it

You are printing extra twos in the wrong submission...

Use 9 as input and hopefully you will see the problem. :D