|
|
back to boardJust funny... I know test, where my prog works more then 3 sec, but there I get AC with time 0.015 sec... Thank you. The problem will be rejudged. (-) Rejudge Rejudge is finished. About 200 authors lost AC. Re: Just funny... Posted by AlMag 13 May 2007 12:08 What have you done, man?! Where is my AC?! :)) Is "*max_element" too slow? Cuz I have TLE#2 Re: Rejudge Posted by AlMag 13 May 2007 13:54 1. You mean that *max_element is equal to find max element "by hands"? 2. How to erase an element from multiset? If i write "d.erase(10)" it erases all 10, but I need to erase just one. What shall I do? Re: Rejudge Posted by AlMag 13 May 2007 14:11 Oh, finnally AC. I change "d.erase(t)" to "d.erase(*d.find(t))". Thanks for your test. I think it works slowly because of a lot of output. (1,750 MB put in stream). Re: Rejudge "*max_element" is number of measurements? "d.erase()" - what is this? I can't understand you. I use pascal. :) Edited by author 13.05.2007 14:15 Edited by author 13.05.2007 14:17 Re: Rejudge Posted by AlMag 13 May 2007 17:57 Oh, I see. I'm using Pascal too and I'm a new one in C++. That's why such questions. Re: Rejudge Posted by Emilbek 24 May 2008 17:42 Зомалчи |
|
|