Problem fizzbuzz
User Magenta
Submission Time 2026-06-22 16:47:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:9:19: error: expected ‘;’ before ‘<=’ token
9 | for (int i = 1, i <= N, i++) {
| ^~~
| ;
fizzbuzz.cpp:9:20: error: expected primary-expression before ‘<=’ token
9 | for (int i = 1, i <= N, i++) {
| ^~
fizzbuzz.cpp:9:29: error: expected ‘;’ before ‘)’ token
9 | for (int i = 1, i <= N, i++) {
| ^
| ;
fizzbuzz.cpp:20:3: error: expected ‘}’ at end of input
20 | }
| ^
fizzbuzz.cpp:9:31: note: to match this ‘{’
9 | for (int i = 1, i <= N, i++) {
| ^
fizzbuzz.cpp:20:3: error: expected ‘}’ at end of input
20 | }
| ^
fizzbuzz.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^