上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: #include <iostream>#include <cstdio>#include <cstring>#include <map>#include <set>#include <vector>#include <stack>#include <queue>#include <algorithm 阅读全文
posted @ 2017-04-19 17:35 zhang_upstar 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 本文出处http://www.cnblogs.com/Paul-Guderian/p/6657639.html 如有版权问题,请私信联系删除 为了有助于你读后文,在写题前先列出一些大米饼的代码习惯: 一个提醒:所有的ADD函数无特殊说明均如图:(没有w就直接跳过) 以及: go(i,a,b) for 阅读全文
posted @ 2017-04-18 20:49 zhang_upstar 阅读(3531) 评论(1) 推荐(1) 编辑
摘要: 急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢? 后记: 人生是一个充满了变数的生命过程,天灾、人祸、病痛是 阅读全文
posted @ 2017-04-17 22:00 zhang_upstar 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是,xhd升掉最后一级还需n的经验值,xhd还留有m的忍耐度,每杀一个怪xhd会得到相应的经验,并减掉相应的忍耐度。当忍耐度降到0或 阅读全文
posted @ 2017-04-17 21:46 zhang_upstar 阅读(261) 评论(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 @ 2017-04-13 21:27 zhang_upstar 阅读(149) 评论(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 @ 2017-04-13 13:20 zhang_upstar 阅读(169) 评论(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 @ 2017-04-12 19:55 zhang_upstar 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Problem Description 电子科大本部食堂的饭卡有一种很诡异的设计,即在购买之前判断余额。如果购买一个商品之前,卡上的剩余金额大于或等于5元,就一定可以购买成功(即使购买后卡上余额为负),否则无法购买(即使金额足够)。所以大家都希望尽量使卡上的余额最少。某天,食堂中有n种菜出售,每种菜 阅读全文
posted @ 2017-04-11 11:35 zhang_upstar 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 标题:猜字母 把abcd...s共19个字母组成的序列重复拼接106次,得到长度为2014的串。 接下来删除第1个字母(即开头的字母a),以及第3个,第5个等所有奇数位置的字母。 得到的新串再进行删除奇数位置字母的动作。如此下去,最后只剩下一个字母,请写出该字母。 答案是一个小写字母,请通过浏览器提 阅读全文
posted @ 2017-04-07 11:23 zhang_upstar 阅读(802) 评论(0) 推荐(0) 编辑
摘要: A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, ..., xm > another 阅读全文
posted @ 2017-03-31 19:40 zhang_upstar 阅读(229) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页