Problem stepcount
User Taken
Submission Time 2026-11-04 11:05:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepcount.cpp: In function ‘int main()’:
stepcount.cpp:3:12: error: expected primary-expression before ‘long’
3 | #define ll long long
| ^~~~
stepcount.cpp:11:13: note: in expansion of macro ‘ll’
11 | if ( M/2 = ll; M = N ){
| ^~
stepcount.cpp:12:19: error: expected ‘;’ before ‘cout’
12 | cin >> M >> N
| ^
| ;
13 | cout << M/2;
| ~~~~
stepcount.cpp:16:10: error: expected ‘;’ before ‘}’ token
16 | return 0
| ^
| ;
17 | }
| ~