Problem 3nplus1
User YongXin
Submission Time 2023-06-01 19:39:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘while’
9 | while (n!=1) {
| ^~~~~
3nplus1.cpp:18:9: error: expected ‘;’ before ‘}’ token
18 | cout<<a
| ^
| ;
19 | }
| ~