Problem fizzbuzz
User Um
Submission Time 2023-04-29 11:55:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:56: error: ‘n’ was not declared in this scope
7 | for (int i = 1; i <= N; i++) {for (int i = 1; i <= n; i++) {
| ^
fizzbuzz.cpp:8:16: error: ‘a’ was not declared in this scope
8 | if (i % a == 0 && i % b == 0) {
| ^
fizzbuzz.cpp:8:30: error: ‘b’ was not declared in this scope
8 | if (i % a == 0 && i % b == 0) {
| ^
fizzbuzz.cpp: At global scope:
fizzbuzz.cpp:19:5: error: expected unqualified-id before ‘return’
19 | return 0;
| ^~~~~~
fizzbuzz.cpp:20:1: error: expected declaration before ‘}’ token
20 | }
| ^
fizzbuzz.cpp:21:1: error: ‘fixe’ does not name a type
21 | fixe
| ^~~~