Akuver's blog

By Akuver, history, 4 years ago, In English

I can't understand what is wrong with this piece of code of mine as a solution of the problem 158A: https://codeforces.com/contest/158/submission/67632208 Then I submitted this solution and it worked: https://codeforces.com/contest/158/submission/67947459 Please help me understand why the code that I submitted earlier fails.

  • Vote: I like it
  • +13
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it +3 Vote: I do not like it

It is impossible to read the code in your post. Please provide links to submissons.

»
4 years ago, # |
  Vote: I like it +3 Vote: I do not like it

Auto comment: topic has been updated by Akuver (previous revision, new revision, compare).

»
4 years ago, # |
Rev. 4   Vote: I like it +1 Vote: I do not like it

Here I accepted your own code :D