Problem 1052 "Rabbit Hunt" has been rejudged (+)
Some new tests were added. 234 authors lost AC. Maybe we'll add more tests soon.
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
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 (+)
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 (+)
Try simple test:
2
0 0
1 1
Re: Problem 1052 "Rabbit Hunt" has been rejudged (+)
As I see from the problem statement, this test is incorrect =)
Re: Problem 1052 "Rabbit Hunt" has been rejudged
Posted by
xerxe 15 Dec 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 (+)
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 (+)
Posted by
wesson 3 Nov 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 (+)
Do calculations in integer numbers - and won't have troubles with precision.