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

Обсуждение задачи 1640. Кольцо холода

WA #4
Послано Anuar 29 окт 2011 10:34
I've got WA on test 4. People who had WA on this test too, what did you fix? I use 2 ternary searchs.

Edited by author 29.10.2011 10:37

Edited by author 29.10.2011 10:37
Re: WA #4
Послано IvanovS_SSAU 8 ноя 2011 21:55
check n=1
Re: WA #4
Послано Plamen_N 21 май 2012 20:49
I had WA #4 too. I suppose in that test case the coordinates which my program has given as answer were coincided with some from the input. I got AC as changing them adding some fraction. Yes, that change doesn't guarantees you a correct answer, but if the fraction has about 9 digits after the decimal point the probability of coincidence is negligible. The fraction I used is 0.0111.
Re: WA #4
Послано Andrew Sboev 27 май 2012 19:58
>I use 2 ternary searchs.
Why? Just look for any point, in which isn't placed any monster.
Re: WA #4
Послано Makar 9 ноя 2012 22:10
If someone have WA#5 check answer precision.