kelvin_0179's blog

By kelvin_0179, history, 5 years ago, In English

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

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

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

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