0_0_21986361_1025.cpp: In function 'void dfs(int)': 0_0_21986361_1025.cpp:24:83: error: 'Max' was not declared in this scope dp[father][j] = Max(dp[father][j] ,dp[father][k] + dp[child][j-k]); ^