Problem catlunch
User evan
Submission Time 2025-06-18 15:27:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
catlunch.cpp:8:2: note: in expansion of macro ‘int’
8 | int N, K; cin >> N >> K;
| ^~~
catlunch.cpp:8:6: error: ‘N’ was not declared in this scope
8 | int N, K; cin >> N >> K;
| ^
catlunch.cpp:8:9: error: ‘K’ was not declared in this scope
8 | int N, K; cin >> N >> K;
| ^
catlunch.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
catlunch.cpp:9:2: note: in expansion of macro ‘int’
9 | int array[N];
| ^~~
catlunch.cpp:9:14: error: expected initializer before ‘;’ token
9 | int array[N];
| ^
catlunch.cpp:3:18: error: declaration does not declare anyth