Problem | typicalstairs |
---|---|
User | blob |
Submission Time | 2023-12-28 23:29:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typicalstairs.cpp: In function ‘long long int stairs(long long int)’:
typicalstairs.cpp:13:19: error: ‘stair’ was not declared in this scope; did you mean ‘stairs’?
13 | return dp[a] = (stair(a-1) + stair(a-2)) % 1000000007;
| ^~~~~
| stairs
typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:26:3: error: ‘vec’ was not declared in this scope
26 | vec.push_back(a);
| ^~~
typicalstairs.cpp:32:10: error: ‘stair’ was not declared in this scope; did you mean ‘stairs’?
32 | cout << stair(N);
| ^~~~~
| stairs