Problem fizzbuzz
User prologue0605
Submission Time 2025-06-23 15:07:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:9:10: error: lvalue required as left operand of assignment
9 | if(x%a=0){
| ^
fizzbuzz.cpp:11:16: error: lvalue required as left operand of assignment
11 | }else if(x%b=0){
| ^
fizzbuzz.cpp:13:3: error: expected ‘}’ before ‘else’
13 | else if(x%a=0. and x%b=0){
| ^~~~
fizzbuzz.cpp:11:18: note: to match this ‘{’
11 | }else if(x%b=0){
| ^
fizzbuzz.cpp:13:26: error: lvalue required as left operand of assignment
13 | else if(x%a=0. and x%b=0){
| ^
fizzbuzz.cpp:17:1: error: expected ‘}’ at end of input
17 | }
| ^
fizzbuzz.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^