Problem fizzbuzz
User 123456789
Submission Time 2023-04-14 07:58:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:8:51: error: expected ‘;’ before ‘else’
8 | if (i % a == 0 && i % b == 0) cout << "FizzBuzz"
| ^
| ;
9 | else if (i % a == 0) cout << "Fizz";
| ~~~~