Problem | 3nplus1 |
---|---|
User | naturality |
Submission Time | 2023-09-02 22:05:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:12:8: error: ‘True’ was not declared in this scope
12 | while(True){
| ^~~~
3nplus1.cpp:14:6: error: expected ‘(’ before ‘n’
14 | if n == 1{
| ^
| (
3nplus1.cpp:17:3: error: ‘else’ without a previous ‘if’
17 | else if(n%2==0){
| ^~~~