
最长回文字符
会场安排
Keep_Trying_Go
无
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU3068(Manacher模版)
#include<algorithm> #include<iterator> #include<iostream> #include<cstring> using namespace std; const int maxx=3e5+10; int p[maxx]; char s[maxx],t[maxx]; int Manacher(char *str,int len){ t[0] = '$';t[1] = '#'; int j = 2;原创 2021-03-17 07:48:47 · 166 阅读 · 0 评论 -
poj3974
方法一:超时 #include<iostream> #include<algorithm> #include<cmath> #include<cstring> using namespace std; const int maxx=1e6+5; int main(){ char s[maxx]; int count=1; while(scanf("%s",s)){ if(s[0]=='E'&&s[1]=='N'&&原创 2021-03-17 07:48:35 · 105 阅读 · 0 评论