Problem fizzbuzz
User Ronaldo7
Submission Time 2026-06-22 22:28:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp:3:2: error: invalid preprocessing directive #def; did you mean #ifdef?
3 | #def int long long
| ^~~
| ifdef
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:12:22: error: expected ‘;’ before ‘}’ token
12 | cout<<"FizzBuzz\n"
| ^
| ;
13 | }else if (i%A ==0){
| ~
fizzbuzz.cpp:14:18: error: expected ‘;’ before ‘}’ token
14 | cout<<"Fizz\n"
| ^
| ;
15 | }else if (i%B == 0){
| ~
fizzbuzz.cpp:16:18: error: expected ‘;’ before ‘}’ token
16 | cout<<"Buzz\n"
| ^
| ;
17 |
18 | }
| ~