Problem park
User Kiameimon
Submission Time 2024-02-25 20:43:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

park.cpp: In function ‘int main()’:
park.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
park.cpp:56:16: note: in expansion of macro ‘int’
56 | deque<int> id[int(2e5)+1];
| ^~~
park.cpp:56:16: error: expected ‘]’ before ‘long’
56 | deque<int> id[int(2e5)+1];
| ^
| ]
park.cpp:65:8: error: ‘id’ was not declared in this scope; did you mean ‘i’?
65 | if(id[x].empty()) segtree->upd(x, i);
| ^~
| i
park.cpp:66:5: error: ‘id’ was not declared in this scope; did you mean ‘i’?
66 | id[x].push_back(i);
| ^~
| i
park.cpp:84:9: error: ‘id’ was not declared in this scope; did you mean ‘i’?
84 | if(id[w].size() > 1){
| ^~
| i
park.cpp:113:9: error: ‘id’ was not declared in this scope;