Problem | 3nplus1 |
---|---|
User | vince |
Submission Time | 2023-11-08 09:25:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:6: error: redeclaration of ‘int n’
6 | int n = n;
| ^
3nplus1.cpp:4:6: note: ‘int n’ previously declared here
4 | int n;
| ^
3nplus1.cpp:12:8: error: unable to find numeric literal operator ‘operator""n’
12 | n = 3n + 1;
| ^~