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

Обсуждение задачи 1347. Блог

timelimits. very interesting. admins, please pay attention
Послано artie 18 фев 2008 19:04
Is it okay when my code gets accepted (0.35 seconds) and same code after few minutes gets TL.
I write programs in Java. And it was very hard for me to tune up my program to run it in time, because in this problem we have to read and write large amount of data. Usually jury increases timelimits for Java in such situations.
And most surprising thing:
why
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out));
always gets TL
and
PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
gets AC (sometimes :))))