#include #include int search(char str[],int size,char tg[]); int main() { int n,m; char s[2501],str[51]; int i,j; int res; scanf("%d%d",&n,&m); scanf("%s",s); for(i=0;i