0_0_15518454_10039.cpp: In function 'void dfs(int)':
0_0_15518454_10039.cpp:53:43: error: array must be initialized with a brace-enclosed initializer
int dp[u][0] = q[u]^p[u] ? -v[u] : v[u];
^
0_0_15518454_10039.cpp:54:16: error: conflicting declaration 'int dp [u][1]'
int dp[u][1] = q[u]^p[u] ? v[u] : -v[u];
^
0_0_15518454_10039.cpp:53:9: note: previous declaration as 'int dp [u][0]'
int dp[u][0] = q[u]^p[u] ? -v[u] : v[u];
^
|