0_0_30045376_28664.cpp: In function 'void GetNext()': 0_0_30045376_28664.cpp:27:31: error: invalid types '<unresolved overloaded function type>[int]' for array subscript Next[j]=next[k]; ^