Problem stepgame
User Schoolpurposes
Submission Time 2025-02-04 20:28:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
stepgame.cpp:5:1: note: in expansion of macro ‘int’
5 | int main() {
| ^~~
stepgame.cpp: In function ‘int main()’:
stepgame.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
stepgame.cpp:6:5: note: in expansion of macro ‘int’
6 | int n;
| ^~~
stepgame.cpp:6:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n;
| ^
| yn
stepgame.cpp:3:18: error: template argument 1 is invalid
3 | #define int long long;
| ^~~~
stepgame.cpp:9:12: note: in expansion of macro ‘int’
9 | vector<int> board(n);
| ^~~
stepgame.cpp:3:18: error: template argument 2 is invalid
3 | #