Problem link : http://mirror.codeforces.com/contest/705/problem/C
Solution link :- http://mirror.codeforces.com/contest/705/submission/42254642
Hey guys this code is giving me the runtime error in testcase-2 on submitting it while on running the same test on my system it is giving me correct answer. I literally have no clue of what's happening :(
Could anyone plzz help me out!!
Auto comment: topic has been updated by aditya123garg (previous revision, new revision, compare).
Iterator cannot be reused when you delete or insert something in set
ohh okay!! Thnks for such a quick reply :)