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

Обсуждение задачи 1846. НОД 2010

Oh,I got TLE
Послано Accepted 20 июн 2013 19:05
I have tests many tests,with which I have found my program's mistakes,and maybe this tests can help you:
4
+ 2
+ 309
- 2
+ 957
and the answer is:
2
1
309
3
but I got TLE at #18 now...
Re: Oh,I got TLE
Послано Accepted 20 июн 2013 19:12
Now I got TLE on #29
The mistake my program have is when I have done the discretization,I'll check a array whose length is n to refresh the order,then if we set o is the number after refreshing,we should set the ioop variables i=o rather than o=i...
Re: Oh,I got TLE
Послано Accepted 20 июн 2013 19:12
Now I got TLE on #29
The mistake my program have is that when I have done the discretization,I'll check a array whose length is n to refresh the order,then if we set o is the number after refreshing,we should set the loop variables i=o rather than o=i...