Problem | 3nplus1 |
---|---|
User | PyAce |
Submission Time | 2025-06-18 15:33:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:14:9: error: expected ‘;’ before ‘}’ token
14 | break
| ^
| ;
15 | }
| ~
3nplus1.cpp:18:28: error: expression cannot be used as a function
18 | CurrentResult = 3(Input)+1;
| ^
3nplus1.cpp:21:28: error: expression cannot be used as a function
21 | CurrentResult = 3(Input)+1;
| ^
3nplus1.cpp:22:20: error: expression cannot be used as a function
22 | Input = 3(Input)+1;
| ^
3nplus1.cpp:26:1: error: expected ‘catch’ before ‘}’ token
26 | }
| ^
3nplus1.cpp:26:1: error: expected ‘(’ before ‘}’ token
26 | }
| ^
| (
3nplus1.cpp:26:1: error: expected type-specifier before ‘}’ token
3nplus1.cpp:25:3: error: expected ‘)’ before ‘}’ token
25 | }
| ^
| )
26