Problem fizzbuzz
User griuehiruhigero
Submission Time 2023-06-19 15:20:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:4:16: error: expected initializer before ‘.’ token
4 | long long N, A. B, i;
| ^
fizzbuzz.cpp:5:14: error: ‘A’ was not declared in this scope
5 | cin >> N >> A >> B;
| ^
fizzbuzz.cpp:5:19: error: ‘B’ was not declared in this scope
5 | cin >> N >> A >> B;
| ^
fizzbuzz.cpp:6:7: error: ‘i’ was not declared in this scope
6 | for (i=0; i<N; i++){
| ^
fizzbuzz.cpp:8:30: error: expected ‘;’ before ‘else’
8 | cout << "\n" << "FizzBuzz"
| ^
| ;
9 | else if (i%A == 0)
| ~~~~