0_0_24166835_14500.cpp: In function 'void getnext()': 0_0_24166835_14500.cpp:20:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript next[++i]=++j; ^