Problem examinations
User wongyikai
Submission Time 2024-07-16 14:52:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

examinations.cpp:8:19: error: ‘__gnu_pbds::tree<long long int, __gnu_pbds::null_type, std::less_equal<long long int>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>’ is not a template
8 | #define omultiset tree<ll, null_type, less_equal<ll>, rb_tree_tag, tree_order_statistics_node_update>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
examinations.cpp:15:32: note: in expansion of macro ‘omultiset’
15 | void build(ll tl, ll tr, ll v, omultiset<ll> t[]){
| ^~~~~~~~~
examinations.cpp: In function ‘void build(ll, ll, ll, __gnu_pbds::tree<long long int, __gnu_pbds::null_type, std::less_equal<long long int>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>*)’:
examinations.cpp:8:19: error: ‘__gnu_pbds::tree<long long int, __gnu_pbds::null_type, std::less_equal<long long i