rahulpkvij's blog

By rahulpkvij, history, 5 years ago, In English

https://mirror.codeforces.com/contest/1277/submission/68086797

Please can anyone tell me why my code is giving runtime error ? PLEASE HELP. Thanks in advance !

  • Vote: I like it
  • -8
  • Vote: I do not like it

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

You can not use old iterators in set after any operation $$$«insert»$$$ or $$$«erase»$$$.