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

Обсуждение задачи 1100. Таблица результатов

please who can say what is in 11th test
Послано Dulat_TKTL 27 янв 2006 19:42
my solution is corret and fast Ithink  but it is not enough.why in 12th I have TIme limit


Edited by author 27.01.2006 23:01
Re: please who can say what is in 11th test
Послано botl_ayhan 28 янв 2006 15:37
iI also had this problem.
Do not use too many unnecessary operations like sorting.
Beginning from largest possible score. choose all teams with this score.
and you have written TKTL. are you from turkish school?

Edited by author 28.01.2006 15:39
Re: please who can say what is in 11th test
Послано Dulat_TKTL 28 янв 2006 15:56
I get AC
use program of Bourne but instead of smallint use byte;
var
n,i,j,x:longint;
a:array[0..150000] of byte;
b:array[0..150000] of longint;
begin

readln(n);
for i:=1 to n do
begin
readln(b[i],a[i]);
end;

for x:=100 downto 0 do
begin
for i:=1 to n do
if a[i]=x then writeln(b[i],' ',a[i]);
end;

end.

Edited by author 28.01.2006 15:57
Re: please who can say what is in 11th test
Послано Dulat_TKTL 30 янв 2006 07:55
yes and you
Re: please who can say what is in 11th test
Послано BOTLMahir 31 янв 2006 13:20
yes and me.
Re: please who can say what is in 11th test
Послано Dulat_TKTL 1 фев 2006 15:25
thanks but
who  you are??????
Re: please who can say what is in 11th test
Послано Grab 8 фев 2006 17:09
N=150000