Problem fizzbuzz
User zhaoyz
Submission Time 2026-06-22 16:33:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:12:35: error: expected ‘;’ before ‘cout’
12 | if (i%a !=0 and i%b != 0) cout<<i
| ^
| ;
13 | cout<<"\n";
| ~~~~
fizzbuzz.cpp:15:9: error: expected ‘;’ before ‘}’ token
15 | return 0
| ^
| ;
16 | }
| ~