Problem 3nplus1
User 0ncarat
Submission Time 2024-04-13 11:14:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:9: error: expected ‘;’ before ‘cout’
9 | n=n/2
| ^
| ;
10 | cout<<n;
| ~~~~
3nplus1.cpp:13:6: error: unable to find numeric literal operator ‘operator""n’
13 | n=3n+1
| ^~
3nplus1.cpp:16:2: error: expected ‘}’ at end of input
16 | }
| ^
3nplus1.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^