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

Обсуждение задачи 1052. Охота на зайцев

Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано Sandro (USU) 12 дек 2011 18:36
Some new tests were added. 234 authors lost AC. Maybe we'll add more tests soon.
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано Sandro (USU) 14 дек 2011 02:18
Some more tests were added. 200 authors lost AC.

Edited by author 14.12.2011 23:32
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано FreezingCool 14 дек 2011 04:01
I think there is a problem here.

My pascal solution has failed and WA 14 now, and it was accepted before.
And my C++ solution is still AC and I have recently retyped the same Pascal solution that failed, into C++, and both codes are exactly the same, except one is C++ and the other one is Pascal. What could be the problem?
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано Sandro (USU) 14 дек 2011 14:21
Try simple test:

2
0 0
1 1
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано Vedernikoff 'Goryinyich' Sergey (HSE: АОП) 15 дек 2011 17:03
As I see from the problem statement, this test is incorrect =)
Re: Problem 1052 "Rabbit Hunt" has been rejudged
Послано xerxe 15 дек 2011 17:43
The answer to this test is 2, which my program correctly gives. I received WA12.

Unless the geometric formula has changed in 5 years, then the new tests could be with boundary conditions.

Thank you for taking the time to answer.
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано Sandro (USU) 15 дек 2011 21:58
You are right, this test is incorrect. :) And there is no such test in the test set. But FreezingCool's Pascal and C++ solutions give different answers on this test.
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано wesson 3 ноя 2013 14:55
I find out, that test 14 requires high accuracy of comparsion of two double(float) values. I used e=0.000000001 and i got AC.
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
Послано Vedernikoff 'Goryinyich' Sergey (HSE: АОП) 4 ноя 2013 03:22
Do calculations in integer numbers - and won't have troubles with precision.