上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 77 下一页
摘要: 二分: set: 字典树竟然超时了。。。 阅读全文
posted @ 2015-11-19 22:00 handsomecui 阅读(489) 评论(0) 推荐(0) 编辑
摘要: Elven Postman Time Limit: 1500/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1091 Accepted Submission(s): 617 阅读全文
posted @ 2015-11-19 20:18 handsomecui 阅读(377) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#define mem(x,y) memset(x,y,sizeof(x))using namespace std;typedef long long LL;struct Node{ int date; struct N... 阅读全文
posted @ 2015-11-18 21:03 handsomecui 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Sightseeing CowsTime Limit:1000MSMemory Limit:65536KTotal Submissions:8915Accepted:3000DescriptionFarmer John has decided to reward his cows for their... 阅读全文
posted @ 2015-11-17 22:09 handsomecui 阅读(899) 评论(0) 推荐(0) 编辑
摘要: Desert KingTime Limit:3000MSMemory Limit:65536KTotal Submissions:22717Accepted:6374DescriptionDavid the Great has just become the king of a desert cou... 阅读全文
posted @ 2015-11-17 20:01 handsomecui 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: Dropping testsTime Limit:1000MSMemory Limit:65536KTotal Submissions:8176Accepted:2862DescriptionIn a certain course, you takentests. If you getaiout o... 阅读全文
posted @ 2015-11-17 13:39 handsomecui 阅读(1242) 评论(0) 推荐(0) 编辑
摘要: 还是回文时间限制:2000 ms | 内存限制:65535 KB 难度:3描述判断回文串很简单,把字符串变成回文串也不难。现在我们增加点难度,给出一串字符(全部是小写字母),添加或删除一个字符,都会产生一定的花费。那么,将字符串变成回文串的最小花费是多少呢?输入多组数据第一个有两个数n,m,分别表示... 阅读全文
posted @ 2015-11-16 16:02 handsomecui 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 硬币找零时间限制:1000 ms | 内存限制:65535 KB 难度:3描述在现实生活中,我们经常遇到硬币找零的问题,例如,在发工资时,财务人员就需要计算最少的找零硬币数,以便他们能从银行拿回最少的硬币数,并保证能用这些硬币发工资。我们应该注意到,人民币的硬币系统是 100,50,20,10,5,... 阅读全文
posted @ 2015-11-16 14:12 handsomecui 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 飞翔时间限制:3000 ms | 内存限制:65535 KB难度:4描述鹰最骄傲的就是翱翔,但是鹰们互相都很嫉妒别的鹰比自己飞的快,更嫉妒其他的鹰比自己飞行的有技巧。于是,他们决定举办一场比赛,比赛的地方将在一个迷宫之中。这些鹰的起始点被设在一个N*M矩阵的左下角map[1,1]的左下角。终点被设定... 阅读全文
posted @ 2015-11-15 21:20 handsomecui 阅读(281) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/qq574857122/article/details/18039855每个专题结束后会有5小时的专题赛~1、hustOJ目前支持谷歌、火狐浏览器等部分浏览器。2、欢迎吐槽~3、推荐该阶段用书(以下具体算法实现多数可在此书中找到详解):算法竞赛入门经典之训练... 阅读全文
posted @ 2015-11-15 20:25 handsomecui 阅读(1333) 评论(0) 推荐(1) 编辑
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 77 下一页