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

Wrong answer on test 6 in problem 158A
Difference between en2 and en3, changed 54 character(s)
I can't understand what is wrong with this piece of code of mine as a solution of the problem 158A:↵
https://codeforces.me/contest/158/submission/67632208↵
Then I submitted this solution and it worked:↵
https://codeforces.me/contest/158/submission/67947459
Please help me understand why the code that I submitted earlier fails.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Akuver 2019-12-30 20:33:35 54
en2 English Akuver 2019-12-30 20:32:52 835
en1 English Akuver 2019-12-30 09:20:43 1083 Initial revision (published)