Problem stepcount
User marwin
Submission Time 2026-11-04 10:19:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepcount.cpp: In function ‘int main()’:
stepcount.cpp:23:5: error: ‘else’ without a previous ‘if’
23 | else {
| ^~~~
stepcount.cpp: At global scope:
stepcount.cpp:28:1: error: expected declaration before ‘}’ token
28 | }
| ^