0_0_22551763_28722.cpp:7:7: error: expected nested-name-specifier before 'namespacge'
using namespacge std;
^
0_0_22551763_28722.cpp:11:18: error: 'vector' does not name a type
int N,M,A[maxn]; vector <int> tmp;
^
0_0_22551763_28722.cpp: In function 'void dfs(Node*)':
0_0_22551763_28722.cpp:85:2: error: 'tmp' was not declared in this scope
tmp.push_back(u->val);
^
0_0_22551763_28722.cpp: In function 'void rebuild()':
0_0_22551763_28722.cpp:90:2: error: 'tmp' was not declared in this scope
tmp.clear(); cur = stop; root = NULL;
^
0_0_22551763_28722.cpp:91:14: error: unable to deduce 'auto&&' from 'tmp'
for (auto v:tmp) root = old_merge(root,newnode(v));
^
|