Multiset issues

Revision en1, by catalystgma, 2019-06-18 10:21:47

Hi,

I am trying to solve problem https://mirror.codeforces.com/contest/372/problem/A .

This is my sourcecode: http://cpp.sh/3rqwk. My codeforces submission is here: https://mirror.codeforces.com/contest/372/submission/55705312.

My code runs on my computer and cpp.sh on the two examples successfully but gets "Runtime Error" with a huge descrpition on the site. I know how volatile the are multiset erase operations, but I can't figure out why it won't run specifically on codeforces.

Thank you!

Tags #multiset, erase

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English catalystgma 2019-06-18 10:21:47 510 Initial revision (published)