0_0_34202168_26638.cpp: In function 'void getNext()': 0_0_34202168_26638.cpp:22:10: error: invalid types '<unresolved overloaded function type>[int]' for array subscript next[i] = j; ^