4

Runtime error — large testcase

 1 year ago
source link: http://codeforces.com/blog/entry/108535
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

By bhanu.kode5, 3 hours ago,

I know that one should learn to debug oneself and learn to find the problems in their code. I am sorry to ask if this is not the right place.

https://codeforces.com/contest/1625/submission/178473012

I have been trying since much time, to find where the problem might be, googled (for possible reasons of runtime errors — but similar answers — like insufficient memory or bugs — but where, I could not find), I could not find where the mistake is, maybe because I am inexperienced. Any help would be great.

Maybe there's something wrong in the erase — remove lines but I do not know. Also though I am still a beginner I somehow got to know about the erase and remove algorithms in STL (from a cpp course) and started using them after somewhat understanding their working. As a beginner, I should focus on solving simpler problems first, effectively, but I could not help it in the contest, I used whatever I knew, and was thrilled that I got an idea for problem C, when I did not even give about 5 contests.

(Also the large gap between january (contest date) and now is due to college, I forgot codeforces for a while until nowadays)

https://codeforces.com/contest/1625/submission/178473012

Thank you.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK