Problem fizzbuzz
User taqtru
Submission Time 2024-01-23 16:14:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:5: error: ‘arr’ was not declared in this scope
7 | arr list[N];
| ^~~
fizzbuzz.cpp:8:20: error: expected ‘;’ before ‘<’ token
8 | for (int n=0, n < N, n++){
| ^~
| ;
fizzbuzz.cpp:8:21: error: expected primary-expression before ‘<’ token
8 | for (int n=0, n < N, n++){
| ^
fizzbuzz.cpp:8:29: error: expected ‘;’ before ‘)’ token
8 | for (int n=0, n < N, n++){
| ^
| ;
fizzbuzz.cpp:9:18: error: expected unqualified-id before ‘[’ token
9 | if ( list[n] % (a*b) == 0){
| ^
fizzbuzz.cpp:12:18: error: expected unqualified-id before ‘[’ token
12 | if ( list[n] % a == 0, list[n] % b != 0 ){
| ^
fizzbuzz.cpp:15:11: er