ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1126. Магнитные бури

Just funny...
Послано Alexander Kouprin 12 май 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. (-)
Послано Sandro (USU) 12 май 2007 16:06
Rejudge
Послано Sandro (USU) 13 май 2007 00:19
Rejudge is finished. About 200 authors lost AC.
Re: Just funny...
Послано AlMag 13 май 2007 12:08
What have you done, man?! Where is my AC?! :))
Is "*max_element" too slow? Cuz I have TLE#2
Re: Rejudge
Послано Alexander Kouprin 13 май 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
Послано AlMag 13 май 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
Послано AlMag 13 май 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
Послано Alexander Kouprin 13 май 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
Послано AlMag 13 май 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
Послано Emilbek 24 май 2008 17:42
Зомалчи