| Problem | stepcount |
|---|---|
| User | ryoshu |
| Submission Time | 2026-11-04 11:55:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
stepcount.cpp: In function ‘int main()’:
stepcount.cpp:6:23: error: ‘stepNum’ was not declared in this scope; did you mean ‘step’?
6 | int N,M,step = 0; stepNum = 0,modulo = 0;
| ^~~~~~~
| step
stepcount.cpp:6:35: error: ‘modulo’ was not declared in this scope; did you mean ‘modfl’?
6 | int N,M,step = 0; stepNum = 0,modulo = 0;
| ^~~~~~
| modfl
stepcount.cpp:17:9: error: expected ‘}’ before ‘else’
17 | else {
| ^~~~
stepcount.cpp:9:28: note: to match this ‘{’
9 | if (N - step > 2*M){
| ^
stepcount.cpp: At global scope:
stepcount.cpp:25:1: error: expected declaration before ‘}’ token
25 | }
| ^