ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1126. Magnetic Storms

Just funny...
Posted by Alexander Kouprin 12 May 2007 01:00
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. (-)
Posted by Sandro (USU) 12 May 2007 16:06
Rejudge
Posted by Sandro (USU) 13 May 2007 00:19
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 Alexander Kouprin 13 May 2007 13:34
Thank you Sandro. But I want to add new tests in problem 1198 (Corruption). See my message http://acm.timus.ru/forum/thread.aspx?id=15349&upd=633141128767151100



Especially to AlMag:
my beauty test is like this
2
1
100000
1
100000
1
100000
...(25000)
1
100000
-1
"*max_element" count equal 2 :)

Edited by author 13.05.2007 13:35
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
Posted by Alexander Kouprin 13 May 2007 14:14
"*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
Зомалчи