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

Обсуждение задачи 1829. Таблицы маршрутизации

Why TL is so large?
Послано Vedernikoff 'Goryinyich' Sergey (HSE: АОП) 9 апр 2011 00:22
The problem is just working with arrays, the most difficult part is sorting, the rest is O(N) - why TL is 2 sec., especially given that there are more time-intensive problems with TL 0.5 sec.??? My very inefficient solution with long long's got AC in 0.125 sec, so 1 sec. here is more than enough...
Re: Why TL is so large?
Послано Sandro (USU) 9 апр 2011 00:32
As you can see, your "very inefficient solution" is the best solution now. :) By the way, current best Java solution works 0.625 sec.
Re: Why TL is so large?
Послано Vedernikoff 'Goryinyich' Sergey (HSE: АОП) 11 апр 2011 02:40
Hm, really funny =) Interesting to know, what algo did other guys use...
And what's bottleneck for Java solutions? Input, or something else?

As for my question - still, as you can see, currently only one solution for this problem has runtime more than 1 sec., and in problem 1827, for instance, almost half of the solutions got TL, and I think many of them have runtime bit more than 1 sec. I just wanted to say that timelimit policy should be consistent - if you impose quite strict timelimits for other problems, it is quite strange to give more here...