摘要: Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25867 Accepted Subm 阅读全文
posted @ 2018-08-24 21:21 mizersy 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Input Output Sample Input Sample Output 同类题目:HDU1358 #include <bits/stdc++.h> using namespace std; int n; char a[1000005]; int nxt[1000005]; void getn 阅读全文
posted @ 2018-08-24 16:11 mizersy 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 int T,n,m; 4 int a[1000005],b[10005]; 5 int nxt[10005]; 6 7 8 void getnxt(){ 9 int j = 0,k = -1; 1 阅读全文
posted @ 2018-08-24 14:30 mizersy 阅读(121) 评论(0) 推荐(0) 编辑