0_0_25695908_8074.cpp: In function 'int kmp(int, int)': 0_0_25695908_8074.cpp:49:17: error: invalid types '<unresolved overloaded function type>[int]' for array subscript j=next[j];} ^