0_0_26253552_22201.cpp: In function 'void getnext()': 0_0_26253552_22201.cpp:19:28: error: 'k' was not declared in this scope nex[i]=nex[k]; ^