Problem | 3nplus1 |
---|---|
User | vince |
Submission Time | 2023-11-08 09:15:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:8: error: expected primary-expression before ‘>’ token
5 | cin >>> n;
| ^
3nplus1.cpp:11:6: error: unable to find numeric literal operator ‘operator""n’
11 | n=3n+1;
| ^~
3nplus1.cpp:14:4: error: ‘print’ was not declared in this scope; did you mean ‘printf’?
14 | print("Error");
| ^~~~~
| printf
3nplus1.cpp:18:10: error: expected primary-expression before ‘<’ token
18 | cout <<< n;
| ^