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

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:13:3: error: expected ‘}’ before ‘else’
13 | else if(x%a==0 and x%b==0){
| ^~~~
fizzbuzz.cpp:11:19: note: to match this ‘{’
11 | }else if(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(){
| ^