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 1248. Sequence Sum

This test saved me
Posted by UNKNOWN_LAMER 18 Feb 2005 11:19
21
9e0
9e1
9e2
9e3
9e4
9e5
9e6
9e7
9e8
9e9
9e10
9e11
9e12
9e13
9e14
9e15
9e16
9e17
9e18
9e19
9e20

Correct answer is
1.000000000000000000e21
Re: This test saved me
Posted by Burunduk1 6 Apr 2005 00:26
My AC program outputs 9.9999999999999999999e20
This answer is also correct.
Your program have not to round answer.
Re: This test saved me
Posted by Yu Xin 8 Jun 2005 21:11
From my experience, I think it is necessary to round the answer.
Re: This test saved me
Posted by Yu Yuanming 22 Jun 2005 10:14
Yes, you are right.
The ans must get rounding