Problem typicalstairs
User Henries
Submission Time 2024-08-11 00:20:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typicalstairs.cpp: In function ‘int main()’:
typicalstairs.cpp:36:10: error: ‘b’ was not declared in this scope
36 | broken[b] = 1;
| ^
typicalstairs.cpp:38:29: error: too few arguments to function ‘int typical_stairs(int, std::vector<int>)’
38 | cout << typical_stairs(N) << endl;
| ^
typicalstairs.cpp:7:5: note: declared here
7 | int typical_stairs(int N,vector<int> broken) {
| ^~~~~~~~~~~~~~