Problem fizzbuzz
User EuniceLoh
Submission Time 2024-11-07 11:23:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:12:20: error: lvalue required as left operand of assignment
12 | if (i%a=0 && i%b=0){
| ^
fizzbuzz.cpp:14:18: error: lvalue required as left operand of assignment
14 | } else if (i%a=0){
| ^
fizzbuzz.cpp:16:17: error: lvalue required as left operand of assignment
16 | } else if(i%b=0){
| ^
fizzbuzz.cpp:20:10: error: expected ‘;’ before ‘}’ token
20 | return 0
| ^
| ;
21 | }
| ~