0_0_33717194_6941.cpp: In function 'int dfs(int, int, int)': 0_0_33717194_6941.cpp:23:23: error: invalid types 'int[int]' for array subscript if(dp[dep][now][up]!=-1&&!up) return dp[dep][now]; ^