class Solution {
public:
vector[HTML_REMOVED] getLeastNumbers_Solution(vector[HTML_REMOVED] input, int k) {
int n=input.size();
for(int i=0;i[HTML_REMOVED]input[j+1])
{
int temp=input[j];
input[j]=input[j+1];
input[j+1]=temp;
}
}
}
input.resize(k);
return input;
}
};