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

Compile Error

stepcount.cpp: In function ‘int main()’:
stepcount.cpp:22:4: error: expected ‘while’ before '\x68696c65'
22 | 'while' cout << x;
| ^~~~~~~
stepcount.cpp:22:4: error: expected ‘(’ before '\x68696c65'
22 | 'while' cout << x;
| ^~~~~~~
| (
stepcount.cpp:22:11: error: expected ‘)’ before ‘cout’
22 | 'while' cout << x;
| ~~~~~~~^~~~~
| )
stepcount.cpp:22:11: error: expected ‘;’ before ‘cout’
22 | 'while' cout << x;
| ^~~~~
| ;
stepcount.cpp:28:4: error: expected ‘while’ before '\x68696c65'
28 | 'while' cout << x;
| ^~~~~~~
stepcount.cpp:28:4: error: expected ‘(’ before '\x68696c65'
28 | 'while' cout << x;
| ^~~~~~~
| (
stepcount.cpp:28:11: error: expected ‘)’ before ‘cout’
28 | 'while' cout << x;
| ~~~~~~~^~~~~