Problem stepgame
User R9q5P8
Submission Time 2026-01-21 18:15:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function ‘int main()’:
stepgame.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
stepgame.cpp:7:2: note: in expansion of macro ‘int’
7 | int n;
| ^~~
stepgame.cpp:7:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | int n;
| ^
| yn
stepgame.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
stepgame.cpp:9:2: note: in expansion of macro ‘int’
9 | int current;
| ^~~
stepgame.cpp:9:6: error: ‘current’ was not declared in this scope
9 | int current;
| ^~~~~~~
stepgame.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
stepgame.cpp:11:7: note: in expansion of macro ‘int’
11 | fo