Problem typicalstairs
User penguin
Submission Time 2025-03-15 17:35:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:7:2: error: ‘ll’ was not declared in this scope
7 | ll arr[N] = {{-1}};
| ^~
typicalstairs.cpp:8:2: error: ‘arr’ was not declared in this scope
8 | arr[0] = 1; arr[1] = 2;
| ^~~
typicalstairs.cpp:21:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
21 | ans = arr[N-1]%1000000007;
| ^~~
| abs