| Problem | fizzbuzz |
|---|---|
| User | chenyuming |
| Submission Time | 2026-11-02 10:40:30 |
| 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; i++){
| ^
fizzbuzz.cpp:9:12: error: expected initializer before ‘%’ token
9 | if(int i % A == 0 && i % B == 0){
| ^
fizzbuzz.cpp:9:11: error: expected ‘)’ before ‘%’ token
9 | if(int i % A == 0 && i % B == 0){
| ~ ^~
| )
fizzbuzz.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
fizzbuzz.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^