Problem fizzbuzz
User Slayer555
Submission Time 2023-12-20 16:53:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i = 0; i < N; i++) {
| ^
fizzbuzz.cpp:18:11: error: expected ‘(’ before ‘num’
18 | else if num[i] % A = 0) {
| ^~~
| (
fizzbuzz.cpp:21:3: error: ‘else’ without a previous ‘if’
21 | else {
| ^~~~