Problem fizzbuzz
User Aum
Submission Time 2023-11-10 15:21:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:8:28: error: expected ‘;’ before ‘)’ token
8 | for(int i = 1; i <= n, i++){
| ^
| ;
fizzbuzz.cpp:12:5: error: ‘else’ without a previous ‘if’
12 | } else if(i%a == 0){
| ^~~~
fizzbuzz.cpp:12:13: error: ‘i’ was not declared in this scope
12 | } else if(i%a == 0){
| ^
fizzbuzz.cpp: At global scope:
fizzbuzz.cpp:20:1: error: expected declaration before ‘}’ token
20 | }
| ^