Problem | fizzbuzz |
---|---|
User | fanqie |
Submission Time | 2023-11-22 22:50:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:11:20: error: lvalue required as left operand of assignment
11 | if (arr[i] % A = 0, arr[i] % B != 0){
| ^
fizzbuzz.cpp:13:26: error: lvalue required as left operand of assignment
13 | }else if (arr[i] % B = 0, arr[i] % A != 0){
| ^
fizzbuzz.cpp:15:27: error: lvalue required as left operand of assignment
15 | }else if (arr [i] % A = 0, arr[i] % B = 0){
| ^
fizzbuzz.cpp:15:43: error: lvalue required as left operand of assignment
15 | }else if (arr [i] % A = 0, arr[i] % B = 0){
| ^