Problem fizzbuzz
User Minjia
Submission Time 2023-11-08 13:48:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:23: error: ‘n’ was not declared in this scope
7 | for (int i = 1; i <= n; i++){
| ^
fizzbuzz.cpp:8:24: error: expected identifier before ‘(’ token
8 | if (i%A == 0) and (i%B == 0){
| ^
fizzbuzz.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
fizzbuzz.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^