|  | 
|  | 
| вернуться в форум | Just 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... Послано AlMag  13 май 2007 12:08What have you done, man?! Where is my AC?! :))Is "*max_element" too slow? Cuz I have TLE#2
Re: Rejudge Послано AlMag  13 май 2007 13:541. 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 Послано AlMag  13 май 2007 14:11Oh, 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 Послано AlMag  13 май 2007 17:57Oh, I see.I'm using Pascal too and I'm a new one in C++. That's why such questions.
 | 
 | 
|