Problem typicalstairs
User Hengweezy
Submission Time 2024-02-14 15:44:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:8:8: error: ‘mod’ does not name a type; did you mean ‘modf’?
8 | const mod = 1000000007;
| ^~~
| modf
typicalstairs.cpp:27:12: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
27 | dp[i] %= mod;
| ^~~
| modf