Problem 3nplus1
User HOK
Submission Time 2026-02-28 10:23:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:7: error: expected ‘;’ before ‘n’
9 | n*=3
| ^
| ;
10 | n+=1
| ~
3nplus1.cpp:12:8: error: expected ‘;’ before ‘}’ token
12 | n=n/2
| ^
| ;
13 | }
| ~