Markdown Test
title1#
title2##
title3###
ctrl-i
ctrl-b
del
under
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- 0.0
- qwq
- qwq
\(1+1=2\)
\[1+2=3
\]
\(\color{#4B0082}{Just}\) \(\color{#9932CC}{Yuri}\)
color
灰色:\color{#C0C0C0}{...}
noob!
no noob
qwq!
qaq
no qaq
void exkmp(char *s,char *t,int n) {
int l = 0,r = 0;
for(int i = 1; i <= n; i++) {
if(i <= r) p[i] = min(z[i-l+1],r-i+1);
while(i+p[i] <= n && s[i+p[i]] == t[1+p[i]]) p[i]++;
if(i+p[i]-1 > r) l = i, r = i+p[i]-1;
}
}
View Code
void exkmp(char *s,char *t,int n) {
int l = 0,r = 0;
for(int i = 1; i <= n; i++) {
if(i <= r) p[i] = min(z[i-l+1],r-i+1);
while(i+p[i] <= n && s[i+p[i]] == t[1+p[i]]) p[i]++;
if(i+p[i]-1 > r) l = i, r = i+p[i]-1;
}
}
noob?