Problem pilot
User John
Submission Time 2024-11-21 15:00:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int main()’:
pilot.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
pilot.cpp:6:2: note: in expansion of macro ‘int’
6 | int n, q;
| ^~~
pilot.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n, q;
| ^
| yn
pilot.cpp:6:9: error: ‘q’ was not declared in this scope
6 | int n, q;
| ^
pilot.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
pilot.cpp:8:2: note: in expansion of macro ‘int’
8 | int h[n], y[q];
| ^~~
pilot.cpp:8:6: error: ‘h’ was not declared in this scope
8 | int h[n], y[q];
| ^
pilot.cpp:8:12: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
8 | int h[n], y[q];
| ^