Problem stepcount
User ZhangChi
Submission Time 2026-11-04 10:32:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepcount.cpp: In function ‘int main()’:
stepcount.cpp:22:10: error: expected ‘(’ before ‘cout’
22 | while cout << x;
| ^~~~
| (
stepcount.cpp:22:19: error: expected ‘)’ before ‘;’ token
22 | while cout << x;
| ~~~~ ^
| )
stepcount.cpp:28:10: error: expected ‘(’ before ‘cout’
28 | while cout << x;
| ^~~~
| (
stepcount.cpp:28:19: error: expected ‘)’ before ‘;’ token
28 | while cout << x;
| ~~~~ ^
| )