0_0_26941579_13941.cpp:39:13: error: stray '\243' in program
dp[root][1]+=min(dp[k][0],dp[k][1])£»
^
0_0_26941579_13941.cpp:39:13: error: stray '\273' in program
0_0_26941579_13941.cpp: In function 'void dfs(int)':
0_0_26941579_13941.cpp:40:9: error: expected ';' before '}' token
}
^
0_0_26941579_13941.cpp: At global scope:
0_0_26941579_13941.cpp:78:8: error: redefinition of 'struct Node'
struct Node
^
0_0_26941579_13941.cpp:12:8: error: previous definition of 'struct Node'
struct Node
^
0_0_26941579_13941.cpp:82:15: error: invalid type in declaration before ';' token
}edge[MAX*2+5];
^
0_0_26941579_13941.cpp:82:15: error: conflicting declaration 'int edge [12005]'
0_0_26941579_13941.cpp:16:2: note: previous declaration as 'Node edge [3005]'
}edge[MAX*2+5];
^
0_0_26941579_13941.cpp:84:16: error: conflicting declaration 'int dp [6005][2]'
int dp[MAX+5][2];
^
0_0_26941579_13941.cpp:18:5: note: previous declaration as 'int dp [1505][2]'
int dp[MAX+5][2];
^
0_0_26941579_13941.cpp:85:5: error: redefinition of 'int n'
int n;
^
0_0_26941579_13941.cpp:9:5: note: 'int n' previously declared here
int n;
^
0_0_26941579_13941.cpp:86:5: error: redefinition of 'int root'
int root;
^
0_0_26941579_13941.cpp:10:5: note: 'int root' previously declared here
int root;
^
0_0_26941579_13941.cpp:87:5: error: redefinition of 'int tot'
int tot;
^
0_0_26941579_13941.cpp:11:5: note: 'int tot' previously declared here
int tot;
^
0_0_26941579_13941.cpp:89:15: error: conflicting declaration 'int head [6005]'
int head[MAX+5];
^
0_0_26941579_13941.cpp:17:5: note: previous declaration as 'int head [1505]'
int head[MAX+5];
^
0_0_26941579_13941.cpp:90:14: error: conflicting declaration 'int vis [6005]'
int vis[MAX+5];
^
0_0_26941579_13941.cpp:19:5: note: previous declaration as 'int vis [1505]'
int vis[MAX+5];
^
0_0_26941579_13941.cpp: In function 'void add(int, int)':
0_0_26941579_13941.cpp:91:6: error: redefinition of 'void add(int, int)'
void add(int x,int y)
^
0_0_26941579_13941.cpp:20:6: note: 'void add(int, int)' previously defined here
void add(int x,int y)
^
0_0_26941579_13941.cpp: In function 'void dfs(int)':
0_0_26941579_13941.cpp:97:6: error: redefinition of 'void dfs(int)'
void dfs(int root)
^
0_0_26941579_13941.cpp:26:6: note: 'void dfs(int)' previously defined here
void dfs(int root)
^
0_0_26941579_13941.cpp: In function 'int main()':
0_0_26941579_13941.cpp:115:5: error: redefinition of 'int main()'
int main()
^
0_0_26941579_13941.cpp:43:5: note: 'int main()' previously defined here
int main()
^
|