Problem duckhunt24
User JhoCyber
Submission Time 2025-12-10 10:07:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt24.cpp: In function ‘int32_t main()’:
duckhunt24.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
duckhunt24.cpp:9:5: note: in expansion of macro ‘int’
9 | int n,q;
| ^~~
duckhunt24.cpp:9:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | int n,q;
| ^
| yn
duckhunt24.cpp:9:11: error: ‘q’ was not declared in this scope
9 | int n,q;
| ^
duckhunt24.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
duckhunt24.cpp:11:5: note: in expansion of macro ‘int’
11 | int a[n];
| ^~~
duckhunt24.cpp:11:9: error: ‘a’ was not declared in this scope
11 | int a[n];
| ^
duckhunt24.cpp:3:18: error: declaration does not declare anything [-fp