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

Compile Error

examinations.cpp:8:19: error: ‘__gnu_pbds::tree<int, __gnu_pbds::null_type, std::less_equal<int>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>’ is not a template
8 | #define omultiset tree<int, null_type, less_equal<int>, 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(long long int, long long int, long long int, __gnu_pbds::tree<int, __gnu_pbds::null_type, std::less_equal<int>, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>*)’:
examinations.cpp:8:19: error: ‘__gnu_pbds::tree<int, __gnu_pbds::null_type, std::less_equal<int>, __gnu_pbds::rb_