Problem duckhunt19
User DaPeter
Submission Time 2025-12-05 09:45:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt19.cpp: In function ‘int main()’:
duckhunt19.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
duckhunt19.cpp:6:2: note: in expansion of macro ‘int’
6 | int n,x;cin>>n>>x;
| ^~~
duckhunt19.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n,x;cin>>n>>x;
| ^
| yn
duckhunt19.cpp:6:8: error: ‘x’ was not declared in this scope
6 | int n,x;cin>>n>>x;
| ^
duckhunt19.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
duckhunt19.cpp:7:2: note: in expansion of macro ‘int’
7 | int m1,m2=0,0;
| ^~~
duckhunt19.cpp:7:6: error: ‘m1’ was not declared in this scope; did you mean ‘y1’?
7 | int m1,m2=0,0;
| ^~
|