摘要:
void kmp_pre(char x[],int m,int next[]){ int i=0,j; j=next[0]=-1; while(i=m){ ans++; j=next[j]; } } return ans; } 阅读全文
摘要:
F. Asya And Kittens time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output F. Asya And Kittens 阅读全文
摘要:
E. String Multiplication time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Roman and Denis 阅读全文
摘要:
D. Gourmet choice time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Gourmet choice time 阅读全文