0_0_26864605_31097.cpp: In function 'int solve(ll, std::vector<int>, std::vector<int>)': 0_0_26864605_31097.cpp:58:44: error: 'base' was not declared in this scope for (int i = 0; i < k; ++i) { res[i] = base[i] = 0; } ^