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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:11: error: expected primary-expression before ‘)’ token
7 | for (n>1;){
| ^
3nplus1.cpp:7:11: error: expected ‘;’ before ‘)’ token
7 | for (n>1;){
| ^
| ;
3nplus1.cpp:8:12: error: lvalue required as left operand of assignment
8 | if(n%2 = 0){
| ^