Destruktiv's blog

By Destruktiv, history, 7 years ago, In English

In problem D. Mahmoud and Ehab and the binary string my submissions are failing with "wrong answer Couldn't find an answer" :( My last try is this. I checked other users solutions, but I can't find what is wrong with my code.

  • Vote: I like it
  • 0
  • Vote: I do not like it

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

Hello,

Just analysed your code a bit and submitted it after one modification : Submission after code Edit

I've just inversed the positions in the printf. You need to recheck your find_one & find_zero ...

  • »
    »
    7 years ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    I was sure that it is caused by "Couldn't find an answer". Apparently this error message means "wrong answer" OR "Couldn't find an answer", not AND.

    Thank you for help.