Problem fizzbuzz
User Jayden
Submission Time 2025-06-03 20:47:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:8:19: error: expected identifier before ‘(’ token
8 | if (i%3!=0) and (i%5!=0){
| ^
fizzbuzz.cpp:17:1: error: expected ‘}’ at end of input
17 | }
| ^
fizzbuzz.cpp:7:26: note: to match this ‘{’
7 | for (int i=0; i<=n; i++){
| ^
fizzbuzz.cpp:17:1: error: expected ‘}’ at end of input
17 | }
| ^
fizzbuzz.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^