Problem 3nplus1
User thelusidian
Submission Time 2024-02-07 17:18:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:13: error: lvalue required as left operand of assignment
10 | if (c%2 = 0) {
| ^
3nplus1.cpp:13:8: error: unable to find numeric literal operator ‘operator""c’
13 | c = 3c+1;
| ^~
3nplus1.cpp:15:26: error: expected ‘;’ before ‘}’ token
15 | s += " " + to_string(c)
| ^
| ;
16 | }
| ~