Problem | park |
---|---|
User | dzuizz |
Submission Time | 2024-03-09 14:33:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
park.cpp:7:1: error: ‘vector’ does not name a type
7 | vector<pair<int, ll> > ans; // (id, newVal)
| ^~~~~~
park.cpp: In member function ‘ll node::qry(ll)’:
park.cpp:53:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
53 | ans.push_back(make_pair(x.first, 0));
| ^~~
| abs
park.cpp:60:16: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
60 | if (val[1]) ans.push_back(make_pair(l, val[1] - b));
| ^~~
| abs
park.cpp: In function ‘int main()’:
park.cpp:89:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
89 | ans.clear();
| ^~~
| abs