上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
摘要: Description John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable a 阅读全文
posted @ 2018-02-12 23:27 bw98 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Description In modern day magic shows, passing through walls is very popular in which a magician performer passes through several walls in a predesign 阅读全文
posted @ 2018-02-11 15:40 bw98 阅读(313) 评论(0) 推荐(0) 编辑
摘要: Description Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating 阅读全文
posted @ 2018-02-10 15:03 bw98 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Description In Pearlania everybody is fond of pearls. One company, called The Royal Pearl, produces a lot of jewelry with pearls in it. The Royal Pear 阅读全文
posted @ 2018-02-08 10:09 bw98 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Description In the army, a platoon is composed by n soldiers. During the morning inspection, the soldiers are aligned in a straight line in front of t 阅读全文
posted @ 2018-02-07 11:17 bw98 阅读(295) 评论(1) 推荐(0) 编辑
摘要: Description Few know that the cows have their own dictionary with W (1 ≤ W ≤ 600) words, each containing no more 25 of the characters 'a'..'z'. Their 阅读全文
posted @ 2018-02-05 20:25 bw98 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 为什么要这么做 最近用递归比较多,虽然写起来舒服,但是 BUG 不好改,出错的一般都是 segment fault (core dump) 。这个错误很难定位是哪错了,但是我发现了一种很好的办法去解决这种问题。 由于每次发生段错误时,系统会产生 .core 文件记录发生的位置,所以我们在 gdb 调 阅读全文
posted @ 2018-02-03 11:39 bw98 阅读(531) 评论(0) 推荐(0) 编辑
摘要: Description 急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢? 后记: 人生是一个充满了变数的生命 阅读全文
posted @ 2018-02-02 23:21 bw98 阅读(287) 评论(0) 推荐(0) 编辑
摘要: Description Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes 阅读全文
posted @ 2018-02-01 23:41 bw98 阅读(521) 评论(0) 推荐(0) 编辑
摘要: Description Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible fro 阅读全文
posted @ 2018-01-31 19:19 bw98 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页