#include #include #include #include #include using namespace std; #define INF 1000000000000000LL int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n, k; cin>>n>>k; vector cost(n); for(int i=0; i>cost[i]; long long mnc=INF; for(int i=0; i<=k && i