| Problem | minstack |
|---|---|
| User | bribritt |
| Submission Time | 2023-03-17 12:17:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minstack.cpp: In member function ‘ll node::query(ll, ll, ll, ll)’:
minstack.cpp:16:17: error: ‘mid’ was not declared in this scope
16 | if(y <= mid) return l->query(x, y);
| ^~~
minstack.cpp:16:42: error: no matching function for call to ‘node::query(ll&, ll&)’
16 | if(y <= mid) return l->query(x, y);
| ^
minstack.cpp:14:8: note: candidate: ‘ll node::query(ll, ll, ll, ll)’
14 | ll query(ll s, ll e, ll x, ll y) {
| ^~~~~
minstack.cpp:14:8: note: candidate expects 4 arguments, 2 provided
minstack.cpp:17:16: error: ‘mid’ was not declared in this scope
17 | if(x > mid) return r->query(x, y);
| ^~~
minstack.cpp:17:41: error: no matching function for call to ‘node::query(ll&, ll&)’
17 | if(x > mid) return r->query(x, y);
|