Problem | 3nplus1 |
---|---|
User | dl2704 |
Submission Time | 2023-11-10 15:41:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:10: error: expected ‘;’ before ‘if’
5 | cin >> n
| ^
| ;
6 | if (n % 2 == 0){
| ~~
3nplus1.cpp:11:17: error: unable to find numeric literal operator ‘operator""n’
11 | printNumber = 3n+1;
| ^~