10969 - Sweet Dream

The forum to report every bug you find or tell us what you'd like to find in UVa OJ's new system

Moderator: Board moderators

Locked
pineapple
Learning poster
Posts: 57
Joined: Fri Nov 03, 2006 3:33 pm

10969 - Sweet Dream

Post 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?
Carlos
System administrator
Posts: 1286
Joined: Sat Oct 13, 2001 2:00 am
Location: Valladolid, Spain
Contact:

Re: 10969 - Sweet Dream

Post 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.
DON'T PM ME --> For any doubt, suggestion or error reporting, please use the "Contact us" form in the web.
Carlos
System administrator
Posts: 1286
Joined: Sat Oct 13, 2001 2:00 am
Location: Valladolid, Spain
Contact:

Re: 10969 - Sweet Dream

Post by Carlos »

10969 done.
DON'T PM ME --> For any doubt, suggestion or error reporting, please use the "Contact us" form in the web.
Locked

Return to “Bugs and suggestions”