Problem optimalsubseq
User PlayVoltz
Submission Time 2023-12-21 20:58:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

optimalsubseq.cpp:5:9: error: ‘tree’ does not name a type; did you mean ‘free’?
5 | typedef tree<int, null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> oset;
| ^~~~
| free
optimalsubseq.cpp: In function ‘int main()’:
optimalsubseq.cpp:33:2: error: ‘oset’ was not declared in this scope
33 | oset s;
| ^~~~
optimalsubseq.cpp:35:3: error: ‘s’ was not declared in this scope
35 | s.insert(vect[i].second);
| ^