Problem catlunch
User nminhnguyenle
Submission Time 2025-03-01 02:42:51
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:10:5: note: in expansion of macro ‘int’
10 | int n, k;
| ^~~
catlunch.cpp:10:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
10 | int n, k;
| ^
| yn
catlunch.cpp:10:12: error: ‘k’ was not declared in this scope
10 | int n, k;
| ^
catlunch.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
catlunch.cpp:12:5: note: in expansion of macro ‘int’
12 | int arr[n];
| ^~~
catlunch.cpp:12:9: error: ‘arr’ was not declared in this scope
12 | int arr[n];
| ^~~
catlunch.cpp:3:18: error: declaration does not declare anything [-fpermissi