Problem fizzbuzz
User lxmine
Submission Time 2026-05-26 23:01:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:4: error: ‘else’ without a previous ‘if’
7 | } else if (i%a==0){std::cout<<"Fizz"<<std::endl;}
| ^~~~
fizzbuzz.cpp:7:13: error: ‘i’ was not declared in this scope
7 | } else if (i%a==0){std::cout<<"Fizz"<<std::endl;}
| ^