Problem | fizzbuzz |
---|---|
User | asbx |
Submission Time | 2023-11-08 09:54:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:8:6: error: ‘i’ was not declared in this scope
8 | for(i=1,i<n+1,i++){
| ^
fizzbuzz.cpp:23:1: error: expected primary-expression before ‘}’ token
23 | }
| ^
fizzbuzz.cpp:22:3: error: expected ‘;’ before ‘}’ token
22 | }
| ^
| ;
23 | }
| ~
fizzbuzz.cpp:23:1: error: expected primary-expression before ‘}’ token
23 | }
| ^
fizzbuzz.cpp:22:3: error: expected ‘)’ before ‘}’ token
22 | }
| ^
| )
23 | }
| ~
fizzbuzz.cpp:8:5: note: to match this ‘(’
8 | for(i=1,i<n+1,i++){
| ^
fizzbuzz.cpp:23:1: error: expected primary-expression before ‘}’ token
23 | }
| ^