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