0_0_14869531_3886.cpp:8:10: error: 'null_mapped_type' was not declared in this scope
tree<int,null_mapped_type,less<int>,rb_tree_tag,tree_order_statistics_node_update > t;
^
0_0_14869531_3886.cpp:8:83: error: template argument 2 is invalid
tree<int,null_mapped_type,less<int>,rb_tree_tag,tree_order_statistics_node_update > t;
^
0_0_14869531_3886.cpp:8:86: error: invalid type in declaration before ';' token
tree<int,null_mapped_type,less<int>,rb_tree_tag,tree_order_statistics_node_update > t;
^
0_0_14869531_3886.cpp:9:10: error: 'null_mapped_type' was not declared in this scope
tree<int,null_mapped_type,less<int>,rb_tree_tag,tree_order_statistics_node_update >::iterator it;
^
0_0_14869531_3886.cpp:9:83: error: template argument 2 is invalid
tree<int,null_mapped_type,less<int>,rb_tree_tag,tree_order_statistics_node_update >::iterator it;
^
0_0_14869531_3886.cpp:9:95: error: expected initializer before 'it'
tree<int,null_mapped_type,less<int>,rb_tree_tag,tree_order_statistics_node_update >::iterator it;
^
0_0_14869531_3886.cpp: In function 'int main()':
0_0_14869531_3886.cpp:17:11: error: request for member 'clear' in 't', which is of non-class type 'int'
t.clear();
^
0_0_14869531_3886.cpp:23:19: error: request for member 'insert' in 't', which is of non-class type 'int'
t.insert(x);
^
0_0_14869531_3886.cpp:25:34: error: request for member 'find_by_order' in 't', which is of non-class type 'int'
printf("%d\n",*t.find_by_order(que.size()/2));
^
0_0_14869531_3886.cpp:28:19: error: request for member 'erase' in 't', which is of non-class type 'int'
t.erase(x);
^
|