Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

farmaan_khan's blog

By farmaan_khan, history, 4 years ago, In English

183368493 please see my solution and tell me why i get run time error please dont ignore i am dugging this more than hours PLEASE!!!

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

»
4 years ago, hide # |
← Rev. 2  
Vote: I like it 0 Vote: I do not like it

When you are erasing an element from the vector, the size of the vector is reducing. So, you cannot run a loop on $$$n$$$.