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

Обсуждение задачи 1130. Никифор на прогулке

To admins: weak tests
Послано Sirko 18 дек 2015 16:40
Edit my first comment, see the next one for complete explanation. I can share my code via email if you don't have an access to it.

Edited by author 21.12.2015 22:46
Re: To admins: weak tests
Послано Sirko 21 дек 2015 22:45
My AC solution fails on following test
3
100
71 70
99 1
-71 70

It returns
YES
+-+

which means (71; 70) - (99; 1) + (-71; 70) = (-99; 139), |(-99; 139)|~170.65 > 141.4.

But it is really strange that my AC solution contains awful mistake in sorting. In fact, sort doesn't work at all in my AC solution and output depends on vectors order! I wonder how could this code pass all tests. And I wonder how the code with fixed sorting (but still incorrect) fails on 53-th test only.

Please add mentioned test.

Edited by author 21.12.2015 22:48
Re: To admins: weak tests
Послано Vladimir Yakovlev (USU) 23 дек 2015 10:04
Your test was added