Please read the new rule regarding the restriction on the use of AI tools. ×

da_201612051's blog

By da_201612051, history, 8 years ago, In English

http://codeforces.me/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.me/contest/749/submission/25673595

What is the reason for this error?

Thank you.

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

| Write comment?
»
8 years 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