Problem | construct |
---|---|
User | hihihi |
Submission Time | 2023-01-30 21:42:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
construct.cpp:2:17: error: ‘__gnu_pbds’ is not a namespace-name
2 | using namespace __gnu_pbds;
| ^~~~~~~~~~
construct.cpp:3:17: error: ‘__gnu_cxx’ is not a namespace-name
3 | using namespace __gnu_cxx;
| ^~~~~~~~~
construct.cpp:18:1: error: ‘mt19937’ does not name a type
18 | mt19937 rng(chrono::system_clock::now().time_since_epoch().count());
| ^~~~~~~
construct.cpp: In constructor ‘node::node(int)’:
construct.cpp:26:9: error: ‘fill’ was not declared in this scope
26 | fill(tree,tree+2*n, 0);
| ^~~~
construct.cpp: In member function ‘void node::update(int, int)’:
construct.cpp:33:23: error: ‘min’ was not declared in this scope
33 | tree[i] = min(tree[i<<1], tree[i<<1|1]);
| ^~~
construct.cpp: In member function ‘int node::query(int, int)’:
construct.cpp:40:27: error: ‘min’ was not declared in