上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页
摘要: 1016 Phone Bills (25分) A long-distance telephone company charges its customers by the following rules: Making a long-distance call... 阅读全文
posted @ 2020-02-28 21:02 Hu_YaYa 阅读(12) 评论(0) 推荐(0)
摘要: 1014 Waiting in Line (30分) Suppose a bank has N windows open for service. There is a yellow line in front of the windows which dev... 阅读全文
posted @ 2020-02-28 11:38 Hu_YaYa 阅读(37) 评论(0) 推荐(0)
摘要: 1012 The Best Rank (25分) To evaluate the performance of our first year CS majored students, we consider their grades of three cour... 阅读全文
posted @ 2020-02-27 20:13 Hu_YaYa 阅读(16) 评论(0) 推荐(0)
摘要: 1011 World Cup Betting (20分) With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited... 阅读全文
posted @ 2020-02-26 19:21 Hu_YaYa 阅读(12) 评论(0) 推荐(0)
摘要: 1010 Radix (25分) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, ... 阅读全文
posted @ 2020-02-26 14:49 Hu_YaYa 阅读(25) 评论(0) 推荐(0)
摘要: 1008 Elevator (20分) The highest building in our city has only one elevator. A request list is made up with N positive numbers. The... 阅读全文
posted @ 2020-02-25 16:56 Hu_YaYa 阅读(18) 评论(0) 推荐(0)
摘要: 1007 Maximum Subsequence Sum (25分) Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A continuous subsequence is define... 阅读全文
posted @ 2020-02-25 15:32 Hu_YaYa 阅读(16) 评论(0) 推荐(0)
摘要: 1006 Sign In and Sign Out (25分) At the beginning of every day, the first person who signs in the computer room will unlock the doo... 阅读全文
posted @ 2020-02-25 13:03 Hu_YaYa 阅读(14) 评论(0) 推荐(0)
摘要: 1005 Spell It Right (20分) Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every... 阅读全文
posted @ 2020-02-24 16:56 Hu_YaYa 阅读(19) 评论(0) 推荐(0)
摘要: 1001 A+B Format (20分) Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of... 阅读全文
posted @ 2020-02-24 12:01 Hu_YaYa 阅读(22) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页