Page 1 of 1

10969 - Sweet Dream

Posted: Sun Sep 14, 2008 5:23 pm
by pineapple
I think it is very unfair to rejudge this type of problem.
Now you can see only Neal Zean can get the output completely correct.
It is very hard to get the exactly output for all the test cases. (I tried both of double and long double)
Because the data are floating-point numbers, we can just avoid the precision error during the calculation.
in the problem statement, it advised us to use 1e-10 to check the equality of two floating-point numbers.
But in the output, it must lead some precision error in the summation for the answer.
In my opinion, special judge should be used here.for example, some cases may generate the result like this:
xxx.xxx5000000... OR xxx.xxx4999999...

P.S. About 10749 - 10758, have you found the special judge program for them?

Re: 10969 - Sweet Dream

Posted: Thu Sep 18, 2008 7:54 pm
by Carlos
I think you are right, I'll make a special corrector program that allows an error in the last digit.

About the other problems...I have found the correctors, but I don't know how to upload them. I still have to get familiar to new system. Sorry.

Re: 10969 - Sweet Dream

Posted: Sat Sep 20, 2008 9:47 pm
by Carlos
10969 done.