In problem 937C - Save Energy!, my accepted code's 36137732 output differs from jury's answer on test case 27. But cf compiler gives ok verdict. Then I checked some other AC code. All AC code gives the same output as mine in that case. So what's the actual problem?
Relative error of your output obviously didn't exceed 1e-9.So it is correct.
Thanks.
It's 0.5, obviously exceeds 1e-9, Also what's happening on test 26?! really weird.
We're talking about RELATIVE error. It always writes in the statement:
"Namely, let's assume that your answer is x and the answer of the jury is y. The checker program will consider your answer correct if ."
Note the division.