0_0_24727087_2042.cpp:2:1: error: 'vector' does not name a type
vector<int>e[MAX];
^
0_0_24727087_2042.cpp:3:1: error: 'vector' does not name a type
vector<int>son;
^
0_0_24727087_2042.cpp:4:1: error: 'vector' does not name a type
vector<int>dp;
^
0_0_24727087_2042.cpp: In function 'int DFS(int, int)':
0_0_24727087_2042.cpp:8:5: error: 'son' was not declared in this scope
son[r]=1;
^
0_0_24727087_2042.cpp:9:5: error: 'dp' was not declared in this scope
dp[r]=0;
^
0_0_24727087_2042.cpp:10:15: error: 'e' was not declared in this scope
for(i=0;i<e[r].size();i++){
^
0_0_24727087_2042.cpp: At global scope:
0_0_24727087_2042.cpp:29:5: error: 'vector' does not name a type
vector<int> sumOfDistancesInTree(int N, vector<vector<int>>& edges) {
^
|