Problem fizzbuzz
User 0ncarat
Submission Time 2024-04-20 09:41:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:5:14: error: ‘A’ was not declared in this scope
5 | long long N;A;B;
| ^
fizzbuzz.cpp:5:16: error: ‘B’ was not declared in this scope
5 | long long N;A;B;
| ^
fizzbuzz.cpp:7:10: error: expected initializer before ‘/’ token
7 | if(int i/A==0){
| ^
fizzbuzz.cpp:7:10: error: expected ‘)’ before ‘/’ token
7 | if(int i/A==0){
| ~ ^
| )
fizzbuzz.cpp:10:15: error: expected initializer before ‘/’ token
10 | else if(int i/B==0){
| ^
fizzbuzz.cpp:10:15: error: expected ‘)’ before ‘/’ token
10 | else if(int i/B==0){
| ~ ^
| )
fizzbuzz.cpp:13:15: error: expected initializer before ‘/’ token
13 | else if(int i/A==0%%i/B==0){
| ^
fizzbuzz.cpp:13:15: error: expected ‘)’ before ‘/’ token