0_0_30287490_2706.cpp: In function 'int getroot(int)':
0_0_30287490_2706.cpp:30:14: error: 'G' was not declared in this scope
for (int j:G[i]) {
^
0_0_30287490_2706.cpp:40:7: error: 'mn' was not declared in this scope
if (mn[rt]>mn[i])
^
0_0_30287490_2706.cpp: At global scope:
0_0_30287490_2706.cpp:46:1: error: 'LL' does not name a type
LL ans=0;
^
0_0_30287490_2706.cpp: In function 'void dfs(int)':
0_0_30287490_2706.cpp:53:13: error: 'G' was not declared in this scope
for (int j:G[i]) {
^
0_0_30287490_2706.cpp: In function 'void calc(int)':
0_0_30287490_2706.cpp:69:9: error: 'pos' was not declared in this scope
int i=pos[k];
^
0_0_30287490_2706.cpp:73:2: error: 'ans' was not declared in this scope
ans=(ans+dp[1][id(A)]);
^
0_0_30287490_2706.cpp: In function 'void solve(int)':
0_0_30287490_2706.cpp:80:13: error: 'G' was not declared in this scope
for (int j:G[rt])
^
0_0_30287490_2706.cpp: In function 'int main()':
0_0_30287490_2706.cpp:91:3: error: 'ans' was not declared in this scope
ans=m=0;
^
0_0_30287490_2706.cpp:106:4: error: 'G' was not declared in this scope
G[u].push_back(v);
^
|