ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1058. Chocolate

The sample output may not be correct.
Posted by Rotter Tarmination 3 Oct 2020 16:23
I have got AC on this problem.

In the description, it says "accuracy to 0.0001".

In the code which I submitted, I use
    printf("%.4lf\n", min_breakage);
to match the point.

When I use the sample input, my output is 3.0000.
But the sample output is 3.

So I think the sample output may be wrong.
Or both the two outputs are correct?