0_0_37054416_12964.cpp: In function 'int main()': 0_0_37054416_12964.cpp:20:35: error: invalid types 'double[int]' for array subscript if( (i==n && j==m)||dp[i][j][1]==1) continue; ^