Problem optimalsubseq
User Tyx2019
Submission Time 2023-04-19 13:45:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

optimalsubseq.cpp:7:21: error: ‘__gnu_pbds::tree<int, __gnu_pbds::null_type, std::less<int>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>’ is not a template
7 | #define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
optimalsubseq.cpp:11:1: note: in expansion of macro ‘ordered_set’
11 | ordered_set<int> S;
| ^~~~~~~~~~~