Problem fizzbuzz
User brian
Submission Time 2026-06-22 15:59:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:5:9: error: ‘N’ was not declared in this scope
5 | while (N < A, B){
| ^
fizzbuzz.cpp:5:13: error: ‘A’ was not declared in this scope
5 | while (N < A, B){
| ^
fizzbuzz.cpp:5:16: error: ‘B’ was not declared in this scope
5 | while (N < A, B){
| ^
fizzbuzz.cpp:8:22: error: ‘x’ was not declared in this scope
8 | for (int N = 0; N < x; ++N) {
| ^
fizzbuzz.cpp:9:11: error: ‘A’ was not declared in this scope
9 | if (N % A != 0){
| ^
fizzbuzz.cpp:11:17: error: ‘B’ was not declared in this scope
11 | }else if (N % B != 0){
| ^
fizzbuzz.cpp:14:13: error: expected ‘;’ before ‘}’ token
14 | cout << N
| ^
| ;
15 | }
| ~