Problem fizzbuzz
User xragon
Submission Time 2024-12-04 16:43:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:5: error: expected ‘;’ before ‘x’
7 | cin x >> y >> z;
| ^~
| ;
fizzbuzz.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i = 1; i<=n, i++)
| ^
fizzbuzz.cpp:8:17: error: ‘n’ was not declared in this scope
8 | for (i = 1; i<=n, i++)
| ^
fizzbuzz.cpp:8:23: error: expected ‘;’ before ‘)’ token
8 | for (i = 1; i<=n, i++)
| ^
| ;
fizzbuzz.cpp:10:18: error: expected ‘;’ before ‘}’ token
10 | cout << "Fizz"
| ^
| ;
11 | }
| ~
fizzbuzz.cpp:13:18: error: expected ‘;’ before ‘}’ token
13 | cout << "Buzz"
| ^
| ;
14 | }
| ~
fizzbuzz.c