/*1026 逃跑的拉尔夫 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题目描述 Description年轻的拉尔夫开玩笑地从一个小镇上偷走了一辆车,但他没想到的是那辆车属于警察局,并且车上装有用于发射车子移动路线的装置。那个装置太旧了,以至于只能发射关于...
分类:
其他好文 时间:
2014-12-09 22:48:15
阅读次数:
214
题目大意:给出一个字符串,求出出现过k次以上的最长的子串(可重叠).
思路:现弄出来sa数组和height数组,之后就是判断每个长度为k的height数组的区间中最小的数字的最大值了.为什么好多人都二分了?这只要单调队列扫一次就行了啊..
CODE:
#include
#include
#include
#include
#include
#define M...
分类:
其他好文 时间:
2014-12-08 13:57:55
阅读次数:
134
USACO翻译:USACO 2012 JAN三题(1)1.礼物{Bronze题1}2. 栅栏油漆{silver题1}3. 游戏组合技{ Gold题1}
分类:
其他好文 时间:
2014-12-07 20:17:00
阅读次数:
457
1294 全排列 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题目描述 Description给出一个n, 请输出n的所有全排列输入描述 Input Description读入仅一个整数n (1#include #include #include #inc...
分类:
其他好文 时间:
2014-12-01 18:56:03
阅读次数:
166
1008 选数 2002年NOIP全国联赛普及组 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题目描述 Description已知 n 个整数 x1,x2,…,xn,以及一个整数 k(k<n)。从 n 个整数中任选 k 个整数相加,可分别得到一系列的和。例如.....
分类:
其他好文 时间:
2014-11-30 22:56:28
阅读次数:
305
USACO翻译:USACO 2013 JAN三题:1.镜子{Bronze题1}\2. 栅栏油漆{silver题1}\3. 奶牛排队{ Gold题1}
分类:
其他好文 时间:
2014-11-26 10:47:04
阅读次数:
273
描述:Description简介:Introduction火力:Fire体力:Physical关卡:Level地图:Map金币:Gold钻石:Diamonds奖励:Reward金钱:Money经验:Experience随机:Random条件:Conditions完成:Complete等级:Rank开...
分类:
其他好文 时间:
2014-11-24 18:59:16
阅读次数:
193
Dinner
时间限制:100 ms | 内存限制:65535 KB
难度:1
描述Little A is one member of ACM team. He had just won the gold in World Final. To celebrate, he decided to invite all to have one meal. As bowl, ...
分类:
其他好文 时间:
2014-11-24 15:25:14
阅读次数:
203
红色字很重要
Dinner
时间限制:100 ms | 内存限制:65535 KB
难度:1
描述Little A is one member of ACM team. He had just won the gold in World Final. To celebrate, he decided to invite all to have o...
分类:
其他好文 时间:
2014-11-19 11:07:54
阅读次数:
162
黄金数据查询演示示例 ? using?System; using?System.Text; using?System.Net; namespace?gold { ????class?Program ????{ ????????static?void?Main(string[]?args) ????????{...
分类:
其他好文 时间:
2014-11-12 12:04:42
阅读次数:
152