Problem fizzbuzz
User Etw
Submission Time 2024-05-15 13:27:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:5:2: error: expected initializer before ‘cin’
5 | cin >> n >> a >> b;
| ^~~
fizzbuzz.cpp:7:22: error: ‘b’ was not declared in this scope
7 | if(i%a == 0 && i % b == 0){
| ^
fizzbuzz.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
fizzbuzz.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^