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

Автор MrNull, 11 лет назад, По-английски

I'm getting Wrong Answer on 2A problem while I can't find any bug in my code! plz don't say write in another way, I want to find bug of this code! my submission is 10922088

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

»
11 лет назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

A simple test that shows your algo is wrong:

3

nima 7

nima -3

you 4

your code says you are winner but its wrong

when you update your ans its posibble that someone get much score but in next round gets a big negative score and in this case you dont update your ans and winner

right code: 10976660