Problem fizzbuzz
User ayreentazz
Submission Time 2026-06-22 22:46:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> N >> A >> B;
| ^~~
fizzbuzz.cpp:9:9: error: ‘string’ was not declared in this scope
9 | string s = "";
| ^~~~~~
fizzbuzz.cpp:11:25: error: ‘s’ was not declared in this scope
11 | if (i % A == 0) s += "Fizz";
| ^
fizzbuzz.cpp:12:25: error: ‘s’ was not declared in this scope
12 | if (i % B == 0) s += "Buzz";
| ^
fizzbuzz.cpp:14:13: error: ‘s’ was not declared in this scope
14 | if (s == "")
| ^
fizzbuzz.cpp:15:13: error: ‘cout’ was not declared in this scope
15 | cout << i << "\n";
| ^~~~
f