Problem fizzbuzz
User Harshith
Submission Time 2026-02-23 15:00:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp:1:2: error: stray ‘#’ in program
1 | +#include <bits/stdc++.h>
| ^
fizzbuzz.cpp:1:1: error: expected unqualified-id before ‘+’ token
1 | +#include <bits/stdc++.h>
| ^
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> x >> y >> z;
| ^~~
fizzbuzz.cpp:11:4: error: ‘cout’ was not declared in this scope
11 | cout <<"Fizz" << "\n";
| ^~~~
fizzbuzz.cpp:14:3: error: ‘cout’ was not declared in this scope
14 | cout <<"Buzz"<<"\n";
| ^~~~
fizzbuzz.cpp:17:4: error: ‘cout’ was not declared in this scope
17 | cout<<"Fizz Buzz"<<"\n";}
| ^~~~
fizzbuzz.cpp:19:4: error: ‘cout’ was not declared in this scope
19 | cout<<i;
| ^~~~