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

Compile Error

stepcount.cpp: In function ‘int main()’:
stepcount.cpp:5:15: error: ‘sync_withstdio’ is not a member of ‘std::ios_base’
5 | ios_base::sync_withstdio(0); cin.tie(0); cout.tie(0);
| ^~~~~~~~~~~~~~
stepcount.cpp:12:9: error: ‘else’ without a previous ‘if’
12 | else
| ^~~~