0_0_25495805_21498.cpp: In function 'int solve()': 0_0_25495805_21498.cpp:119:40: error: 'nowk' was not declared in this scope dp[nowi][nowj][nowk]+=dp[i][j][k]; ^