Problem fizzbuzz
User YH
Submission Time 2024-02-03 12:19:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:9:19: error: expected ‘;’ before ‘<=’ token
9 | for (int x = 1, x <= n; x++) {
| ^~~
| ;
fizzbuzz.cpp:9:20: error: expected primary-expression before ‘<=’ token
9 | for (int x = 1, x <= n; x++) {
| ^~
fizzbuzz.cpp:10:15: error: expected ‘)’ before ‘x’
10 | if (x%a == 0 x&b == 0) {
| ~ ^~
| )