mydjm

 

2011年11月26日

poj1005

摘要: DescriptionFred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking by 50 square miles each year, due to erosion caused by the Mississippi River. Since Fred is hoping to 阅读全文

posted @ 2011-11-26 19:15 mydjm 阅读(1046) 评论(0) 推荐(0) 编辑

poj1004

摘要: InputThe input will be twelve lines. Each line will contain the closing balance of his bank account for a particular month. Each number will be positive and displayed to the penny. No dollar sign will be included.OutputThe output will be a single number, the average (mean) of the closing balances fo 阅读全文

posted @ 2011-11-26 14:15 mydjm 阅读(1425) 评论(0) 推荐(0) 编辑

poj1003

摘要: InputThe input consists of one or more test cases, followed by a line containing the number 0.00 that signals the end of the input. Each test case is a single line containing a positive floating-point number c whose value is at least 0.01 and at most 5.20; c will contain exactly three digits.OutputF 阅读全文

posted @ 2011-11-26 13:45 mydjm 阅读(1214) 评论(0) 推荐(0) 编辑

导航