Блог пользователя levi.ackerman1732

Автор levi.ackerman1732, история, 4 года назад, По-английски

Hello all,

1301B - Motarack's Birthday

I have read the editorial and implemented the same. My code fails in some hidden test case. If any of you could provide some insight as to what I am doing wrong I would be grateful.

My submission: 71058284

I am extremely sorry if I am asking something that is fairly obvious. Thank you for your time.

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

»
4 года назад, # |
Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

You didn't read the editorial correctly

You are supposed to consider only numbers adjacent to -1 (since they are the ones that your choice of k affects) and NOT every number that is not -1.