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

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

https://codeforces.com/contest/1249/submission/74376059

i dont understand what is the error saying . I need help on this please!

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

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

The size of vector is always 10. But you trying to use index which is out of bound. For example, Try: 7 10000 3620 14 13 6 2 1

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

    couldnt see it at first but after u pointed it out ...now the code works ,thanks a lot bro!!!! really appreciate it!