0_0_25695748_27775.cpp: In function 'void get_next(char*)': 0_0_25695748_27775.cpp:50:17: error: invalid types '<unresolved overloaded function type>[int]' for array subscript }else j=next[j]; ^