Problem | 3nplus1II |
---|---|
User | TONat1298 |
Submission Time | 2025-08-22 17:41:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:7:13: error: lvalue required as left operand of assignment
7 | if (a%2 = 1) {
| ^
3nplus1II.cpp:10:13: error: lvalue required as left operand of assignment
10 | if (a%2 = 0) {
| ^
3nplus1II.cpp:14:11: error: expected ‘;’ before ‘}’ token
14 | cout << a
| ^
| ;
15 | }
| ~