摘要: 描述 JAVAMAN is visiting Dream City and he sees a yard of gold coin trees. There are n trees in the yard. Let's call them tree 1, tree 2 ...and tree n. 阅读全文
posted @ 2018-06-15 22:18 zdragon 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 描述 Seller: That will be fourteen dollars. Buyer: Here's a twenty. Seller: Sorry, I don't have any change. Buyer: OK, here's a ten and a five. Keep the 阅读全文
posted @ 2018-06-15 22:08 zdragon 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 描述 Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic 阅读全文
posted @ 2018-06-15 22:02 zdragon 阅读(156) 评论(0) 推荐(0) 编辑
摘要: It’s commonly known that the Dutch have invented copper-wire. Two Dutch men were fighting over a nickel, which was made of copper. They were both so e 阅读全文
posted @ 2018-06-15 21:54 zdragon 阅读(130) 评论(0) 推荐(0) 编辑
摘要: "Fat and docile, big and dumb, they look so stupid, they aren't much fun..." - Cows with Guns by Dana Lyons The cows want to prove to the public that 阅读全文
posted @ 2018-06-15 21:49 zdragon 阅读(133) 评论(0) 推荐(0) 编辑
摘要: The title of this problem is familiar,isn't it?yeah,if you had took part in the "Rookie Cup" competition,you must have seem this title.If you haven't 阅读全文
posted @ 2018-06-15 21:42 zdragon 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 电子科大本部食堂的饭卡有一种很诡异的设计,即在购买之前判断余额。如果购买一个商品之前,卡上的剩余金额大于或等于5元,就一定可以购买成功(即使购买后卡上余额为负),否则无法购买(即使金额足够)。所以大家都希望尽量使卡上的余额最少。 某天,食堂中有n种菜出售,每种菜可购买一次。已知每种菜的价格以及卡上的 阅读全文
posted @ 2018-06-15 21:35 zdragon 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 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 from the N (1 ≤ 阅读全文
posted @ 2018-06-15 21:31 zdragon 阅读(175) 评论(0) 推荐(0) 编辑
摘要: John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhe 阅读全文
posted @ 2018-06-15 21:27 zdragon 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s 阅读全文
posted @ 2018-06-15 21:21 zdragon 阅读(157) 评论(0) 推荐(0) 编辑
摘要: The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become t 阅读全文
posted @ 2018-06-15 21:15 zdragon 阅读(185) 评论(0) 推荐(0) 编辑
摘要: ACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course depending on the 阅读全文
posted @ 2018-06-15 21:07 zdragon 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢? 后记: 人生是一个充满了变数的生命过程,天灾、人祸、病痛是 阅读全文
posted @ 2018-06-15 20:59 zdragon 阅读(1210) 评论(0) 推荐(0) 编辑
摘要: 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是,xhd升掉最后一级还需n的经验值,xhd还留有m的忍耐度,每杀一个怪xhd会得到相应的经验,并减掉相应的忍耐度。当忍耐度降到0或 阅读全文
posted @ 2018-06-15 20:53 zdragon 阅读(294) 评论(0) 推荐(0) 编辑
摘要: Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irrever 阅读全文
posted @ 2018-06-15 20:45 zdragon 阅读(1027) 评论(0) 推荐(0) 编辑