Problem | 3nplus1 |
---|---|
User | vince |
Submission Time | 2023-11-08 09:14:48 |
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:17:10: error: expected primary-expression before ‘<’ token
17 | cout <<< n;
| ^
3nplus1.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^