Problem | fibo_easy |
---|---|
User | wrizz69 |
Submission Time | 2024-12-28 16:54:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo_easy.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
fibo_easy.cpp:5:7: note: in expansion of macro ‘ll’
5 | const ll maxn=41;
| ^~
fibo_easy.cpp:5:10: error: ‘maxn’ does not name a type
5 | const ll maxn=41;
| ^~~~
fibo_easy.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
fibo_easy.cpp:6:1: note: in expansion of macro ‘ll’
6 | ll dp[maxn];
| ^~
fibo_easy.cpp:6:4: error: ‘dp’ does not name a type
6 | ll dp[maxn];
| ^~
fibo_easy.cpp: In function ‘int main()’:
fibo_easy.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
fibo_easy.cpp:8:2: note: in expansion of macro ‘ll’
8 | ll n;cin>>n;dp[1]=0;dp[2]=1;