Problem fizzbuzz
User XiangZhe
Submission Time 2026-02-19 11:43:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:5:6: error: redeclaration of ‘int A’
5 | int A = 3;
| ^
fizzbuzz.cpp:4:6: note: ‘int A’ previously declared here
4 | int A,B,N;
| ^
fizzbuzz.cpp:6:6: error: redeclaration of ‘int B’
6 | int B = 15;
| ^
fizzbuzz.cpp:4:8: note: ‘int B’ previously declared here
4 | int A,B,N;
| ^
fizzbuzz.cpp:7:6: error: redeclaration of ‘int N’
7 | int N = 100;
| ^
fizzbuzz.cpp:4:10: note: ‘int N’ previously declared here
4 | int A,B,N;
| ^