Problem playlist2
User LovePeggingLucaBalsa
Submission Time 2026-01-20 14:55:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

playlist2.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
playlist2.cpp:6:1: note: in expansion of macro ‘int’
6 | int main() {
| ^~~
playlist2.cpp: In function ‘int main()’:
playlist2.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
playlist2.cpp:10:5: note: in expansion of macro ‘int’
10 | int N, Q;
| ^~~
playlist2.cpp:10:9: error: ‘N’ was not declared in this scope
10 | int N, Q;
| ^
playlist2.cpp:10:12: error: ‘Q’ was not declared in this scope
10 | int N, Q;
| ^
playlist2.cpp:4:18: error: template argument 1 is invalid
4 | #define int long long;
| ^~~~
playlist2.cpp:13:11: note: in expansion of macro ‘int’
13 | deque<int> playlist;