Problem 3nplus1
User chickennn
Submission Time 2026-03-31 20:21:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:15: error: lvalue required as left operand of assignment
8 | if (n % 2 = 0) {
| ^
3nplus1.cpp:16:22: error: ‘i’ was not declared in this scope
16 | for (int j = 0; j < i; i++) {
| ^