Problem | typicalstairs |
---|---|
User | penguin |
Submission Time | 2025-03-15 17:40:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:4:17: error: declaration does not declare anything [-fpermissive]
4 | #define ll long long;
| ^~~~
typicalstairs.cpp:9:2: note: in expansion of macro ‘ll’
9 | ll arr[N] = {{-1}};
| ^~
typicalstairs.cpp:9:5: error: ‘arr’ was not declared in this scope
9 | ll arr[N] = {{-1}};
| ^~~
typicalstairs.cpp:4:17: error: declaration does not declare anything [-fpermissive]
4 | #define ll long long;
| ^~~~
typicalstairs.cpp:23:2: note: in expansion of macro ‘ll’
23 | ll ans = arr[N-1]%1000000007;
| ^~
typicalstairs.cpp:23:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
23 | ll ans = arr[N-1]%1000000007;
| ^~~
| abs