Problem fizzbuzz
User Devthethala
Submission Time 2026-06-22 16:56:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:8:11: error: ‘i’ was not declared in this scope
8 | for ( i = 0; i <= n; i++){
| ^
fizzbuzz.cpp:17:7: error: expected ‘,’ or ‘;’ before ‘cout’
17 | cout >> FizzBuzz
| ^~~~
fizzbuzz.cpp:19:14: error: expected ‘;’ before ‘}’ token
19 | break
| ^
| ;
20 | }
| ~
fizzbuzz.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
fizzbuzz.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^