摘要: Problem DescriptionFarmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤moneyi≤ 10,000) that he will need to spend each day over the nextN(1 ≤N≤ 100,000) days.FJ wants to create 阅读全文
posted @ 2013-10-21 15:31 persistent codeants 阅读(223) 评论(0) 推荐(0)
摘要: Problem DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight river with a rock at the start and another rock at the end,Lunits away from the start (1 ≤L≤ 1,0 阅读全文
posted @ 2013-10-21 14:57 persistent codeants 阅读(197) 评论(0) 推荐(0)