Problem 3nplus1
User Reality1001
Submission Time 2024-02-16 19:49:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:13: error: expected ‘;’ before ‘for’
7 | cout << "n"
| ^
| ;
8 | for (int n;n>1;n+=0){
| ~~~
3nplus1.cpp:8:21: error: expected ‘;’ before ‘)’ token
8 | for (int n;n>1;n+=0){
| ^
| ;