Problem | sequence_apio |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-16 01:18:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sequence_apio.cpp:9:25: error: invalid declarator before ‘convexhull’
9 | deque <pair<pii, int> > convexhull;
| ^~~~~~~~~~
sequence_apio.cpp: In function ‘std::pair<int, int> query(int)’:
sequence_apio.cpp:16:9: error: ‘convexhull’ was not declared in this scope
16 | while (convexhull.size()>1){
| ^~~~~~~~~~
sequence_apio.cpp:20:17: error: ‘convexhull’ was not declared in this scope
20 | return mp(eval(convexhull[0].first, x), convexhull[0].second);
| ^~~~~~~~~~
sequence_apio.cpp: In function ‘void insert(int, int, int)’:
sequence_apio.cpp:29:9: error: ‘convexhull’ was not declared in this scope
29 | while (convexhull.size()>1){
| ^~~~~~~~~~
sequence_apio.cpp:34:2: error: ‘convexhull’ was not declared in this scope
34 | convexhull.push_back(mp(line, id));
| ^~~~~~~~~~
sequence_apio.cpp: In function ‘int32_t