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

Обсуждение задачи 1698. Квадратная страна 5

Показать все сообщения Спрятать все сообщения

Fail (compiler) DK [Samara SAU 1: X2008] 26 мар 2009 02:25
My solution (about 40K of ifs, 10_26_16_32_J_1516.cpp from petrozadosk archive or I could e-mail it if needed) get this verdict. Are there any restrictions on compilation time? I think they should be added to FAQ

Edited by author 26.03.2009 02:26
Re: Fail (compiler) Vedernikoff Sergey (HSE: АОП) 26 мар 2009 15:53
2000 ifs? So inefficient... Better use const int ans[2000] = {
2000 numbers here
}
Re: Fail (compiler) DK [Samara SAU 1: X2008] 26 мар 2009 18:40
Yes, but sometimes we need a couple of sheets of paper ;) This solution is about 40 pages, and print limit was 50 pages, so...
Re: Fail (compiler) Tolstobrov Anatoliy[Ivanovo SPU] 27 авг 2009 22:31
I use only 2 authomorfic numbers with size 2000 and result is count of non zero digits + 1.