#include using namespace std; int main() { int n,k; cin>>n>>k; long int *arr= new long int[n]; for(int i=0;i>arr[i]; } long int cost=0; for(int i=0;i