travelers's blog

By travelers, history, 8 years ago, In English

I am getting runtime error in this problem link: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=752

code: http://ideone.com/TFRDTu

it says "terminate called after throwing an instance of 'std::length_error' what(): vector::_M_fill_insert"

What does it mean and how to solve it TIA

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

»
8 years ago, # |
  Vote: I like it +3 Vote: I do not like it