Problem | removalcosts |
---|---|
User | haydendoo |
Submission Time | 2022-12-28 19:55:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
removalcosts.cpp: In function ‘void solve()’:
removalcosts.cpp:222:1: error: a template declaration cannot appear at block scope
222 | template <typename T> using oset = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
| ^~~~~~~~
removalcosts.cpp:242:1: error: a template declaration cannot appear at block scope
242 | template<class T> bool umax(T& a, const T& b) {
| ^~~~~~~~
removalcosts.cpp:253:49: error: a function-definition is not allowed here before ‘{’ token
253 | ll LASTTRUE(function<bool(ll)> f, ll lb, ll rb) {
| ^
removalcosts.cpp:261:1: error: a template declaration cannot appear at block scope
261 | template<class A> void read(vt<A>& v);
| ^~~~~~~~
removalcosts.cpp:263:1: error: a template declaration cannot appear at block scope
263 | template<class T> void read(T& x) {