| Problem | 3nplus1 |
|---|---|
| User | Hihihihihi |
| Submission Time | 2026-07-02 07:43:38 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:12:6: error: unable to find numeric literal operator ‘operator""n’
12 | a=3n+1
| ^~
3nplus1.cpp:14:2: error: expected ‘}’ before ‘else’
14 | else (n%2==0) {
| ^~~~
3nplus1.cpp:11:15: note: to match this ‘{’
11 | if (n%2!=0) {
| ^
3nplus1.cpp:14:15: error: expected ‘;’ before ‘{’ token
14 | else (n%2==0) {
| ^~
| ;
3nplus1.cpp: At global scope:
3nplus1.cpp:20:1: error: expected declaration before ‘}’ token
20 | }
| ^