Problem 3nplus1
User NgMinSong123
Submission Time 2023-03-03 15:59:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:11:15: error: lvalue required as left operand of assignment
11 | if (a % 2 = 0) {
| ^
3nplus1.cpp:15:17: error: expected ‘;’ before ‘}’ token
15 | a = a * 3 + 1
| ^
| ;
16 | };
| ~