Problem fizzbuzz
User Cat
Submission Time 2025-02-17 13:48:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:6:5: error: conflicting declaration ‘int a [n]’
6 | int a[n];
| ^
fizzbuzz.cpp:4:5: note: previous declaration as ‘int a’
4 | int a,b,n;
| ^
fizzbuzz.cpp:8:2: error: expected unqualified-id before ‘for’
8 | for( int i; i > n; i++){
| ^~~
fizzbuzz.cpp:8:14: error: ‘i’ was not declared in this scope
8 | for( int i; i > n; i++){
| ^