Problem fizzbuzz
User christal
Submission Time 2023-12-06 15:30:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:13:11: error: expected ‘(’ before ‘{’ token
13 | }else if{i%B==0){
| ^
| (
fizzbuzz.cpp:18:5: error: expected ‘}’ at end of input
18 | }
| ^
fizzbuzz.cpp:8:25: note: to match this ‘{’
8 | for(int i=1; i<=N; i++){
| ^
fizzbuzz.cpp:18:5: error: expected ‘}’ at end of input
18 | }
| ^
fizzbuzz.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^