上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页
摘要: On his trip to Luxor and Aswan, Sagheer went to a Nubian market to buy some souvenirs for his friends and relatives. The market has some strange rules 阅读全文
posted @ 2017-08-21 13:40 joeylee97 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new problem. There is 阅读全文
posted @ 2017-08-21 13:39 joeylee97 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new problem. There is 阅读全文
posted @ 2017-08-21 13:05 joeylee97 阅读(238) 评论(0) 推荐(0) 编辑
摘要: The Department of National Defence (DND) wishes to connect several northern outposts by a wireless network. Two different communication technologies a 阅读全文
posted @ 2017-08-21 12:58 joeylee97 阅读(138) 评论(0) 推荐(0) 编辑
摘要: There are n cities and n - 1 roads in the Seven Kingdoms, each road connects two cities and we can reach any city from any other by the roads. Theon a 阅读全文
posted @ 2017-08-21 12:57 joeylee97 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Petra and Jan have just received a box full of free goodies, and want to divide the goodies between them. However, it is not easy to do this fairly, s 阅读全文
posted @ 2017-08-21 12:55 joeylee97 阅读(330) 评论(0) 推荐(0) 编辑
摘要: Suppose there are the symbols M, I, and U which can be combined to produce strings of symbols called "words". We start with one word MI, and transform 阅读全文
posted @ 2017-08-21 12:49 joeylee97 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Gigel has a strange "balance" and he wants to poise it. Actually, the device is different from any other ordinary balance. It orders two arms of negli 阅读全文
posted @ 2017-08-21 12:46 joeylee97 阅读(195) 评论(0) 推荐(0) 编辑
摘要: You will be given a string which only contains ‘1’; You can merge two adjacent ‘1’ to be ‘2’, or leave the ‘1’ there. Surly, you may get many differen 阅读全文
posted @ 2017-08-19 09:29 joeylee97 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张发票的总额不得超过1000元,每张发票上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆发票中找出可以报销的、不超过给定额度的最大报销额。 Input测试输入包含若干测试用例。 阅读全文
posted @ 2017-08-19 09:27 joeylee97 阅读(271) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页