Problem fizzbuzz
User guru1396
Submission Time 2024-12-04 14:22:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:5:19: error: declaration does not declare anything [-fpermissive]
5 | #define int long long;
| ^~~~
fizzbuzz.cpp:6:2: note: in expansion of macro ‘int’
6 | int n, a, b;
| ^~~
fizzbuzz.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n, a, b;
| ^
| yn
fizzbuzz.cpp:6:9: error: ‘a’ was not declared in this scope
6 | int n, a, b;
| ^
fizzbuzz.cpp:6:12: error: ‘b’ was not declared in this scope
6 | int n, a, b;
| ^
fizzbuzz.cpp:5:19: error: declaration does not declare anything [-fpermissive]
5 | #define int long long;
| ^~~~
fizzbuzz.cpp:8:7: note: in expansion of macro ‘int’
8 | for (int i = 1; i <= n; i++){
| ^~~
fizzbuzz.cpp:8:11: error: ‘i’ was not declared in this scope
8 |