class Solution { public: vector<int> getLeastNumbers_Solution(vector<int> input, int k) { sort(input.begin(), input.end()); input.erase(input.begin() + k, input.end()); return input; } };