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 1084. Goat in the Garden

test 9 and truncation and rounding the numbers
Posted by Sergey-vt 24 Oct 2008 20:34
I have WA at test 9, does anybody has the same problem?
And a question:
For example input is 10 1.
Output must be pi*1*1=3.1415926...
But we must write only 3 digits after decimal point.
So what is the correct output: 3.142 or 3.141?
Round or just truncate?
Re: test 9 and truncation and rounding the numbers
Posted by Gelioscope 26 Jun 2011 14:26
it seems, doesn't metter