#include #include using namespace std; int next[1000+5]; void get_next(string t) //求模式串T的next函数值 { int j=1, k=0; next[1]=0; while (jtlen) // 匹配成功 return i-tlen; else return 0; } int main() { string s,t; int pos; cin>>s>>t>>pos; cout<