摘要:
Problem DescriptionA simple mathematical formula for e iswhere n is allowed to go to infinity. This can actually yield very accurate approximations of e using relatively small values of n.OutputOutput the approximations of e generated by the above formula for the values of n from 0 to 9. The begi... 阅读全文
posted @ 2013-04-11 17:13
刘一卜
阅读(500)
评论(0)
推荐(0)
摘要:
Problem DescriptionThe highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 seconds to move the elevator up one floor, and 4 seconds to move down one floor. The 阅读全文
posted @ 2013-04-11 13:32
刘一卜
阅读(751)
评论(0)
推荐(0)

浙公网安备 33010602011771号