0_0_22723979_28044.cpp: In function 'int main()': 0_0_22723979_28044.cpp:45:37: error: 'z' was not declared in this scope k += q != 0 && rk[k][nex[to[k][z]]] != rk[k][nex[to[k][x[i][q - 1]]]]; ^