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

Автор strawhatdragon, история, 3 года назад, По-английски

While solving 230A I came across a failing test case 104218672 1 2 1 0 1 0

This is should result in YES, I think, but the judges say that it is NO. Can someone explain to me why this is NO?

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

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

Note that in the problem statement, there is "But if Kirito's strength is greater than the dragon's strength, then he defeats the dragon and gets a bonus strength".

I think here 'greater' means > but not >=, and there in your test case, he could not defeat any dragons.