Problem | 3nplus1 |
---|---|
User | BlueSpace |
Submission Time | 2024-04-20 09:51:23 |
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: expected ‘;’ before ‘!’ token
12 | for (n !+ 1){
| ^~
| ;
3nplus1.cpp:21:2: error: expected primary-expression before ‘return’
21 | return 0;
| ^~~~~~
3nplus1.cpp:20:3: error: expected ‘;’ before ‘return’
20 | }
| ^
| ;
21 | return 0;
| ~~~~~~
3nplus1.cpp:21:2: error: expected primary-expression before ‘return’
21 | return 0;
| ^~~~~~
3nplus1.cpp:20:3: error: expected ‘)’ before ‘return’
20 | }
| ^
| )
21 | return 0;
| ~~~~~~
3nplus1.cpp:12:6: note: to match this ‘(’
12 | for (n !+ 1){
| ^