Problem 3nplus1
User fujis118869
Submission Time 2023-06-01 11:58:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:16:12: error: expected ‘;’ before ‘}’ token
16 | n=(3*n)+1
| ^
| ;
17 |
18 | }
| ~
3nplus1.cpp:23:9: error: expected ‘}’ at end of input
23 | cout<<1;
| ^
3nplus1.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^