摘要: 2014-07-3012:27:46CDYou have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is on CDs. You need to have it on ... 阅读全文
posted @ 2014-07-30 12:33 Naturain 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 2014-07-3012:24:09Optimal Array Multiplication SequenceGiven two arraysAandB, we can determine the arrayC=ABusing the standard definition of matrix mu... 阅读全文
posted @ 2014-07-30 12:27 Naturain 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 2014-07-3012:13:21Dividing coinsIt's commonly known that the Dutch have invented copper-wire. Two Dutch men were fighting over a nickel, which was mad... 阅读全文
posted @ 2014-07-30 12:15 Naturain 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 2014-07-3012:08:43Let Me Count The WaysAfter making a purchase at a large department store, Mel's change was 17 cents. He received 1 dime, 1 nickel, a... 阅读全文
posted @ 2014-07-30 12:13 Naturain 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 2014-07-3012:05:23DollarsNew Zealand currency consists of $100, $50, $20, $10, and $5 notes and $2, $1, 50c, 20c, 10c and 5c coins. Write a program th... 阅读全文
posted @ 2014-07-30 12:08 Naturain 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 2014-07-3012:00:45Problem E: VacationThe ProblemYou are planning to take some rest and to go out on vacation, but you really don't know which cities y... 阅读全文
posted @ 2014-07-30 12:05 Naturain 阅读(169) 评论(0) 推荐(0) 编辑