Блог пользователя Destruktiv

Автор Destruktiv, история, 7 лет назад, По-английски

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.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
7 лет назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

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 лет назад, # ^ |
      Проголосовать: нравится +3 Проголосовать: не нравится

    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.