0_0_25469355_6955.cpp: In function 'int main()': 0_0_25469355_6955.cpp:15:39: error: 'p' was not declared in this scope tu[i*n+j][k*n+(j*k+i)%p] = 1; ^