Problem 3nplus1
User ZacharyTan2010
Submission Time 2024-02-05 16:09:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:11: error: expected ‘;’ before ‘}’ token
7 | else{x=x/2}
| ^
| ;
3nplus1.cpp:8:10: error: expected primary-expression before ‘)’ token
8 | if(x!=1;){cout<<" ";}}
| ^