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

Обсуждение задачи 1438. Time Limit Exceeded

Some hints
Послано Fetisov Alex [USTU Frogs] 7 апр 2008 12:41
I had WA4 because of this: AnD <=> and, NOt <=> not, etc.
I had WA9 because of this: empty strings (only spaces) - this is not a command))
I had TLE 13 because of this: we should ignore as a command lines has only a label)
Cool problem))
Good Luck)

Edited by author 07.04.2008 12:41
Re: Some hints
Послано bsu.mmf.team 2 авг 2016 23:44
Well, now you don't have AC :)

I can also add that you should do some pre calculations to get access to the variables' values and labels' positions with constant time. Logarithmic complexity isn't enough to pass TL.
Re: Some hints
Послано Jane Soboleva (SumNU) 3 авг 2016 00:58
>Well, now you don't have AC :)

Test 14 was added by me recently, which is why~
The only hint i can give for it is that the code prevented TL #13, but did it in not exactly a proper way.
Re: Some hints
Послано Alex Fetisov 1 дек 2018 01:43
Took some time to rewrite that crap and retake AC :)

Still don't know what was wrong in TL 14 of the previous solution though.