Problem 3nplus1
User DuckyKayden
Submission Time 2025-07-18 11:04:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:14:15: error: lvalue required as left operand of assignment
14 | if (n % 2 = 1)
| ^
3nplus1.cpp:18:2: error: expected ‘}’ at end of input
18 | }
| ^
3nplus1.cpp:5:16: note: to match this ‘{’
5 | int32_t main() {
| ^