ashish_nar's blog

By ashish_nar, history, 5 years ago, In English

This code is working fine in eclipse but I am getting runtime error on test case 1 in codeforces.

Problem Link :

http://codeforces.com/contest/1051/problem/C

Program Link :

https://ideone.com/Qtv1Pm

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

| Write comment?
»
5 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Why in the world are you modifying a set while looping through it?