Problem fizzbuzz
User stefiewefieslays
Submission Time 2026-06-22 16:32:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:17:20: error: expected identifier before ‘(’ token
17 | if (i%a == 0) && (i%b == 0) {
| ^
fizzbuzz.cpp:19:5: error: ‘elif’ was not declared in this scope
19 | } elif (i%a == 0) {
| ^~~~
fizzbuzz.cpp:23:5: error: ‘else’ without a previous ‘if’
23 | } else
| ^~~~
fizzbuzz.cpp:27:1: error: expected ‘}’ at end of input
27 | }
| ^
fizzbuzz.cpp:9:15: note: to match this ‘{’
9 | signed main() {
| ^