题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1358PeriodTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submissi...
分类:
其他好文 时间:
2015-08-28 15:03:12
阅读次数:
149
UVALive 3135 Argus http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=18684题意
编写一个系统执行一系列Register命令:Register Q_num Period,每个命令执行周期是Period,执行事件Q_num;如果事件同时发生,优先执行Q_num小的。
示例Sample Input
Reg...
分类:
其他好文 时间:
2015-08-28 13:24:51
阅读次数:
161
题目地址:http://poj.org/problem?id=1961Sample Input3aaa12aabaabaabaab0Sample OutputTest case #12 23 3Test case #22 26 29 312 4题目分析:给你一个字符串,最大长度1百万。输出是:以第1...
分类:
编程语言 时间:
2015-08-27 20:45:09
阅读次数:
144
1. RequirementsTo generate a PWM output, we need to create a train of pulses with constant period and variable duty cycle.The dutycycle, being the mod...
分类:
其他好文 时间:
2015-08-21 18:44:27
阅读次数:
210
操作步骤: 1、双击jmeter.bat 2、右键点击测试规划à添加àThreadsà线程组,此时在测试规划下边显露出来线程组选项。点击该选项,显露出来线程组界面。参变量线程数表达若干个烦请,参变量Ramp-Up Period表达在多长时间内跑完全部的烦请,循环回数表达同一个烦请执行若干次。 ...
分类:
其他好文 时间:
2015-08-21 11:19:41
阅读次数:
128
对next数组还是理解的不够透彻,要死要死要死
#include
#define maxn 1001000
using namespace std;
string str;
int nextt[maxn];
void kmp()
{
int l=0,k=-1;
nextt[0]=-1;
while(l<str.size())
{
if(k==-1||str[l]==str[k]) ...
分类:
其他好文 时间:
2015-08-18 19:37:43
阅读次数:
120
今天在SSMS(Microsoft SQL Server Management Studio)里面,点击左侧的资源管理器,查看数据库对应的表的时候,会遇到“Lock Request time out period exceeded.(Microsoft SQL Server, 错误1222)”,对应的中文错误提示为“已超过了锁请求超时时段。 (Microsoft SQL Server,错误:
...
分类:
数据库 时间:
2015-08-17 17:27:41
阅读次数:
334
题意:求给你个串,前i位子串由某个字符串重复k次得到,求所有的i和k分析:i-next[i]恰好是一个循环节#include #include #include #include #include #include #include #include #include #include #inclu...
分类:
其他好文 时间:
2015-08-16 17:56:47
阅读次数:
130
For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the pr...
分类:
其他好文 时间:
2015-08-15 16:05:05
阅读次数:
94
Period
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 14726
Accepted: 7009
Description
For each prefix of a given string S with N characters (each character...
分类:
其他好文 时间:
2015-08-15 15:01:10
阅读次数:
107