Problem fizzbuzz
User hitarthdangra
Submission Time 2025-06-16 16:37:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:8:42: error: expected ‘)’ before ‘{’ token
8 | if ((i % A == 0) and (i % B == 0) {
| ~ ^~
| )
fizzbuzz.cpp:18:1: error: expected primary-expression before ‘}’ token
18 | }
| ^
fizzbuzz.cpp:18:1: error: expected ‘}’ at end of input
fizzbuzz.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^