上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页
摘要: 原题链接http://acm.hdu.edu.cn/showproblem.php?pid=3068查找字符串中最长的回文串,我们用到manachar算法。要实现manachar算法我们有有两步要做1:对字符串进行处理,把所有的字符串的长度统一化为奇数。。 1 in... 阅读全文
posted @ 2015-12-31 08:42 __NaCl 阅读(172) 评论(0) 推荐(0)
摘要: 原题链接:http://acm.hnu.cn/online/?action=problem&type=show&id=13397对于每一个已经开始运动的轮子要求它周围和他相接触的轮子的运动状态,然后让那些轮子依次进入队列= =速度关系== 高中学过物理应该都知道吧 ... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(192) 评论(0) 推荐(0)
摘要: 原题连接http://acm.hnu.cn/online/?action=problem&type=show&id=13396这道题并不难,他已经给出公式了k+k+1+k+2+k+3+....+b=N;我们可得(2*k+d-1)*d=2*N;然后我们从2~根号2*n枚... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(109) 评论(0) 推荐(0)
摘要: Joke with permutation Time Limit: 3000ms, Special Time Limit:7500ms, Memory Limit:65536KB Total submit users: 87, Accepted users: 60 Problem 13341 : ... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(125) 评论(0) 推荐(0)
摘要: 题目链接http://acm.hnu.cn/online/?action=problem&type=show&id=13342&courseid=0 Problem description The races became more popular than ever at Pandora plan... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(147) 评论(0) 推荐(0)
摘要: DescriptionMany people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime number in a ... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(85) 评论(0) 推荐(0)
摘要: Problem DescriptionThere are n apple trees planted along a cyclic road, which is L metres long. Your storehouse is built at position 0 on that cyclic ... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(94) 评论(0) 推荐(0)
摘要: Your current task is to make a ground plan for a residential building located in HZXJHS. So you must determine a way to split the floor building wit... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(135) 评论(0) 推荐(0)
摘要: 题目链接:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1278这道题需要用到两个姿势第一将圆相离的模型转换成线段和线段之间不想交,然后还有一个就是修改循环变量的步长。达到降低时间复杂度的效... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(122) 评论(0) 推荐(0)
摘要: http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=88791(题目连接)这道道题就是让你在大矩阵里找小矩阵,用矩阵hash用矩阵hash之前我们先定义下面这些玩意hash1[][]记录横列的的has... 阅读全文
posted @ 2015-12-31 08:41 __NaCl 阅读(136) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页