Problem | construct |
---|---|
User | hihihi |
Submission Time | 2023-01-30 21:42:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
construct.cpp:16:1: error: ‘mt19937’ does not name a type
16 | mt19937 rng(chrono::system_clock::now().time_since_epoch().count());
| ^~~~~~~
construct.cpp: In constructor ‘node::node(int)’:
construct.cpp:24:9: error: ‘fill’ was not declared in this scope
24 | fill(tree,tree+2*n, 0);
| ^~~~
construct.cpp: In member function ‘void node::update(int, int)’:
construct.cpp:31:23: error: ‘min’ was not declared in this scope
31 | tree[i] = min(tree[i<<1], tree[i<<1|1]);
| ^~~
construct.cpp: In member function ‘int node::query(int, int)’:
construct.cpp:38:27: error: ‘min’ was not declared in this scope
38 | if(l&1) res = min(res, tree[l++]);
| ^~~
construct.cpp:39:27: error: ‘min’ was not declared in this scope
39 | if(r&1) res = min(res, tree[--r]);
| ^~~
cons