Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: King Arthur's Birthday Celebration
Description King Arthur is an narcissist who intends to spare no coins to celebrate his coming Input The input consists of several test cases. Output For each case, print two number -- the expected number of days and the expected number of coins (in thousand), with the fraction rounded to 3 decimal places. Sample Input 1 1 1 0.5 0 Sample Output 1.000 1.000 2.000 6.000 Source POJ Founder Monthly Contest – 2008.08.31, Soduku@POJ |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator