Problem fizzbuzz
User godex
Submission Time 2025-02-17 13:30:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:11:6: error: expected ‘(’ before ‘else’
11 | if else (y % i == 0){
| ^~~~
| (
fizzbuzz.cpp:14:7: error: expected ‘(’ before ‘else’
14 | if else (z % i == 0){
| ^~~~
| (
fizzbuzz.cpp:17:3: error: ‘else’ without a previous ‘if’
17 | else{
| ^~~~
fizzbuzz.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
fizzbuzz.cpp:5:15: note: to match this ‘{’
5 | int32_t main(){
| ^