Problem Description
Loading...
Problem Analysis
A problem about nitpicking data precision
My senior said he hates this kind of problem the most…
I got WA many times back then
At one point I doubted whether this problem was even doable
Then my direction of thinking was wrong
Then @A_ice gave me her AC code
The idea is just adding a small decimal as the problem hint says
(the decimal I added at the time was not small enough)
As follows:
cpp
| |
My senior gave me his verification approach
that is, manually multiply it three times to check
The code is as follows:
cpp
| |
Problem link: ZZULI 1798: Daimler’s Request for Help