Problem 3nplus1
User ChessyBoy
Submission Time 2024-04-05 14:07:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:8:11: error: empty character constant
8 | cout<<n<<'';
| ^~
3nplus1.cpp:13:18: error: empty character constant
13 | cout<<n*3+1;<<'';
| ^~
3nplus1.cpp:18:14: error: empty character constant
18 | cout<<n/2<<'';
| ^~
3nplus1.cpp: In function β€˜int main()’:
3nplus1.cpp:13:16: error: expected primary-expression before β€˜<<’ token
13 | cout<<n*3+1;<<'';
| ^~