Problem bananasmoothie
User lolbeast
Submission Time 2025-05-16 08:00:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bananasmoothie.cpp: In function ‘int32_t main()’:
bananasmoothie.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
bananasmoothie.cpp:5:5: note: in expansion of macro ‘int’
5 | int N, K;
| ^~~
bananasmoothie.cpp:5:9: error: ‘N’ was not declared in this scope
5 | int N, K;
| ^
bananasmoothie.cpp:5:12: error: ‘K’ was not declared in this scope
5 | int N, K;
| ^
bananasmoothie.cpp:2:18: error: template argument 1 is invalid
2 | #define int long long;
| ^~~~
bananasmoothie.cpp:7:12: note: in expansion of macro ‘int’
7 | vector<int> Q(N);
| ^~~
bananasmoothie.cpp:2:18: error: template argument 2 is invalid
2 | #define int long long;
| ^~~~
bananasmoothie.cpp:7:12: note: in expansion of macro ‘int’