Problem typicalstairs
User havinaaaaash
Submission Time 2024-11-07 11:16:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typicalstairs.cpp: In function ‘long long int stairpaths(long long int, long long int, std::vector<long long int>&, std::vector<long long int>&)’:
typicalstairs.cpp:8:59: error: ‘k’ was not declared in this scope
8 | } else if (c > n || binary_search(a.begin(), a.end(), k) == false) {
| ^