0_0_24847288_17573.cpp: In function 'int dfs(int)': 0_0_24847288_17573.cpp:30:24: error: invalid types 'int[int]' for array subscript dp[x]=dfs(dp[x][i])+1; ^