Problem stepcount
User ryoshu
Submission Time 2026-11-04 11:56:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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: At global scope:
stepcount.cpp:26:6: error: expected declaration before ‘}’ token
26 | }}
| ^