http://acm.zjnu.edu.cn/DataStruct/showproblem?problem_id=1005 题解:kmp模板题。 如何理解kmp? 背下来就好了 ...
分类:
编程语言 时间:
2018-04-20 00:01:48
阅读次数:
228
题意:浙江省第十二届大学生运动会在浙江师范大学举行,为此在浙师大建造了一座能容纳近万人的新体育场。 观众席每一行构成一个圆形,每个圆形由300个座位组成,对300个座位按照顺时针编号1到300,且可以认为有无数多行。现在比赛的组织者希望观众进入场地的顺序可以更加的有趣,在门票上并没有规定每个人的座位 ...
分类:
其他好文 时间:
2017-08-17 21:29:06
阅读次数:
164
In 12th Zhejiang College Students Games 2007, there was a new stadium built in Zhejiang Normal University. It was a modern stadium which could hold th ...
分类:
其他好文 时间:
2017-08-09 15:27:04
阅读次数:
185
Let's Chat ///@author Sycamore, ZJNU ///@date 4/22/2017 #include #include #include #include #include #include #include #include #include #include #inc... ...
分类:
其他好文 时间:
2017-08-07 00:08:02
阅读次数:
232
HDU 1222: Wolf and Rabbit ///@author Sycamore, ZJNU ///@accepted_on 2017-01-24 #include using namespace std; unsigned gcd(unsigned a, unsigned b) { re... ...
分类:
其他好文 时间:
2017-07-28 00:59:05
阅读次数:
234
Zjnu Stadium Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3726 Accepted Submission(s): 1415 Pr ...
分类:
其他好文 时间:
2017-07-04 00:00:59
阅读次数:
243
这道题算是最简单的区间dp了。。非常久之前写的,搞懂原理了就1A。 传送门:http://acm.zjnu.edu.cn/CLanguage/showproblem?problem_id=1181 状态方程定义: dp[i][j]=min(dp[i][j],dp[i][k]+dp[k+1][j]+s ...
分类:
其他好文 时间:
2017-06-06 19:55:47
阅读次数:
200
Zjnu Stadium Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3186 Accepted Submission(s): 1226 Pr ...
分类:
其他好文 时间:
2017-01-17 23:40:41
阅读次数:
268
Zjnu Stadium Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3062 Accepted Submission(s): 1182 Pr ...
分类:
其他好文 时间:
2016-11-02 22:56:42
阅读次数:
202
Zjnu Stadium Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2947 Accepted Submission(s): 1132 Pr ...
分类:
其他好文 时间:
2016-07-30 16:45:56
阅读次数:
147