Problem 3nplus1
User fanqie
Submission Time 2023-11-09 15:38:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:24: error: expected ‘;’ before ‘)’ token
6 | for (n <= 10000, n > 1){
| ^
| ;
3nplus1.cpp:15:5: error: expected primary-expression before ‘return’
15 | return 0;
| ^~~~~~
3nplus1.cpp:14:14: error: expected ‘)’ before ‘return’
14 | cout << "1";
| ^
| )
15 | return 0;
| ~~~~~~
3nplus1.cpp:6:6: note: to match this ‘(’
6 | for (n <= 10000, n > 1){
| ^