Problem hungryrabbits1
User YSH2020
Submission Time 2023-09-04 13:01:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungryrabbits1.cpp: In function ‘int main()’:
hungryrabbits1.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
hungryrabbits1.cpp:5:5: note: in expansion of macro ‘int’
5 | int n; cin >> n; int c[n];
| ^~~
hungryrabbits1.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n; cin >> n; int c[n];
| ^
| yn
hungryrabbits1.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
hungryrabbits1.cpp:5:22: note: in expansion of macro ‘int’
5 | int n; cin >> n; int c[n];
| ^~~
hungryrabbits1.cpp:5:26: error: ‘c’ was not declared in this scope
5 | int n; cin >> n; int c[n];
| ^
hungryrabbits1.cpp:3:18: error: