0_0_22076845_28649.cpp: In function 'void merge(int, int)':
0_0_22076845_28649.cpp:122:10: error: too few arguments to function 'void del(node*)'
del ();
^
0_0_22076845_28649.cpp:109:6: note: declared here
void del (node *root) { //µÝ¹éÊÍ·Åroot×ÖµäÊ÷
^
0_0_22076845_28649.cpp: In function 'void cal(int)':
0_0_22076845_28649.cpp:132:25: error: missing template arguments before '[' token
swap (vector[u], vector[v]);
^
0_0_22076845_28649.cpp:132:36: error: missing template arguments before '[' token
swap (vector[u], vector[v]);
^
0_0_22076845_28649.cpp:137:18: error: cannot convert 'std::vector<std::pair<int, int> >' to 'int' in initialization
int sz = qu[u];
^
0_0_22076845_28649.cpp:139:19: error: 'class std::vector<std::pair<int, int> >' has no member named 'id'
ans[qu[i].id] = query (root[u], val);
^
0_0_22076845_28649.cpp:139:41: error: 'val' was not declared in this scope
ans[qu[i].id] = query (root[u], val);
^
0_0_22076845_28649.cpp: In function 'void solve()':
0_0_22076845_28649.cpp:144:5: error: 'dfs_clock' was not declared in this scope
dfs_clock = 0;
^
0_0_22076845_28649.cpp:145:11: error: 'dfs' was not declared in this scope
dfs (1);
^
0_0_22076845_28649.cpp: In function 'int main()':
0_0_22076845_28649.cpp:160:17: error: 'u' was not declared in this scope
num[u].clear ();
^
|