vudu.cpp:8:14: error: 'll' was not declared in this scope
8 | typedef tree<ll,
| ^~
vudu.cpp:8:14: note: the macro 'll' had not yet been defined
vudu.cpp:17: note: it was later defined here
17 | #define ll long long
|
vudu.cpp:10:20: error: 'll' was not declared in this scope
10 | less_equal<ll>,
| ^~
vudu.cpp:10:20: note: the macro 'll' had not yet been defined
vudu.cpp:17: note: it was later defined here
17 | #define ll long long
|
vudu.cpp:10:22: error: template argument 1 is invalid
10 | less_equal<ll>,
| ^
vudu.cpp:12:42: error: template argument 1 is invalid
12 | tree_order_statistics_node_update> ordered_set;
| ^
vudu.cpp:12:42: error: template argument 3 is invalid
vudu.cpp: In function 'int main()':
vudu.cpp:53:28: error: request for member 'size' in 's', which is of non-class type '__gnu_pbds::ordered_set' {aka 'int'}
53 | c+=(i+1-(s.size()-s.order_of_key(k+1)));
| ^~~~
vudu.cpp:53:37: error: request for member 'order_of_key' in 's', which is of non-class type '__gnu_pbds::ordered_set' {aka 'int'}
53 | c+=(i+1-(s.size()-s.order_of_key(k+1)));
| ^~~~~~~~~~~~
vudu.cpp:57:23: error: request for member 'order_of_key' in 'v', which is of non-class type '__gnu_pbds::ordered_set' {aka 'int'}
57 | c+=(v.order_of_key(k+1));
| ^~~~~~~~~~~~
vudu.cpp:60:19: error: request for member 'insert' in 's', which is of non-class type '__gnu_pbds::ordered_set' {aka 'int'}
60 | s.insert(a[i]);
| ^~~~~~
vudu.cpp:62:20: error: request for member 'insert' in 'v', which is of non-class type '__gnu_pbds::ordered_set' {aka 'int'}
62 | else v.insert(a[i]);
| ^~~~~~