0_0_26733255_11533.cpp: In function 'int kmp(char*, char*)': 0_0_26733255_11533.cpp:35:4: error: 'q' was not declared in this scope q=next[q]; ^