#include<bits/stdc++.h> #include<vector> #include<algorithm> using namespace std; int main(){ int n,k; int m; vector<int>a; // write your code here...... cin>>n>>k; for(int i=0;i<n;i++) { cin>>m; a.push_back(m); } sort(a.begin(),a.end()); au...