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 1185. Wall

Does "that it is accurate to 8 inches" requirement mean anything?
Posted by ToadMonster 29 Feb 2016 18:25
There is task fragment:
"However, you must round the result in such a way, that it is accurate to 8 inches (1 foot is equal to 12 inches)"

I thought it means that result should be int and (result*12) should be divided by 8 without reminder. I received WA3.

When I ignored requirement and used simple rounding like int(result+0.5) I got ac.

So, does requirement mean anything? Maybe it should be removed from task?