Problem fizzbuzz
User Citric3thanol
Submission Time 2026-06-22 16:42:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp:1:2: error: invalid preprocessing directive #insert; did you mean #assert?
1 | #insert <bits/stdc++.h>
| ^~~~~~
| assert
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> A, B, N;
| ^~~
fizzbuzz.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #insert <bits/stdc++.h>
fizzbuzz.cpp:13:6: error: ‘cout’ was not declared in this scope
13 | cout << "FizzBuzz" << "\n";
| ^~~~
fizzbuzz.cpp:13:6: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
fizzbuzz.cpp:16:6: error: ‘cout’ was not declared in this scope
16 | cout << "Fizz" << "\n";
| ^~~~
fizzbuzz.cpp:16:6: note: ‘std::cout’ is defined in heade