Problem fibo
User xlpaun
Submission Time 2025-02-17 17:07:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp: In function ‘int32_t main()’:
fibo.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
fibo.cpp:7:5: note: in expansion of macro ‘int’
7 | int n, x= 0, y = 1;
| ^~~
fibo.cpp:7:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | int n, x= 0, y = 1;
| ^
| yn
fibo.cpp:7:12: error: ‘x’ was not declared in this scope
7 | int n, x= 0, y = 1;
| ^
fibo.cpp:7:18: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
7 | int n, x= 0, y = 1;
| ^
| yn
fibo.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
fibo.cpp:10:10: note: in expansion of macro ‘int’
10 | for (int i = 0; i < n; i++){
|