Problem fizzbuzz
User hitarthdangra
Submission Time 2025-06-16 16:37:26
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:20:9: error: expected primary-expression before ‘}’ token
20 | }
| ^
fizzbuzz.cpp: At global scope:
fizzbuzz.cpp:22:1: error: expected declaration before ‘}’ token
22 | }
| ^