Problem | 3nplus1 |
---|---|
User | AltheaZ |
Submission Time | 2023-06-02 11:22:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int proc(int)’:
3nplus1.cpp:4:8: error: expected ‘(’ before ‘n’
4 | while n!=1{
| ^
| (
3nplus1.cpp:4:12: error: expected ‘)’ before ‘{’ token
4 | while n!=1{
| ~ ^
| )
3nplus1.cpp:9:11: error: unable to find numeric literal operator ‘operator""n’
9 | return 3n+1;
| ^~