Problem | 3nplus1 |
---|---|
User | fanqie |
Submission Time | 2023-11-09 15:40:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:24: error: expected ‘;’ before ‘)’ token
6 | for (n <= 10000, n > 1){
| ^
| ;
3nplus1.cpp:14:5: error: expected primary-expression before ‘return’
14 | return 0;
| ^~~~~~
3nplus1.cpp:13:3: error: expected ‘;’ before ‘return’
13 | }
| ^
| ;
14 | return 0;
| ~~~~~~
3nplus1.cpp:14:5: error: expected primary-expression before ‘return’
14 | return 0;
| ^~~~~~
3nplus1.cpp:13:3: error: expected ‘)’ before ‘return’
13 | }
| ^
| )
14 | return 0;
| ~~~~~~
3nplus1.cpp:6:6: note: to match this ‘(’
6 | for (n <= 10000, n > 1){
| ^