message: ICPC_selection comment added
diff: +/*MY COMPETITIVE CODING TEMPLATE*/
  #include<bits/stdc++.h>
  using namespace std;
  #define ll long long int
  @@ -21,21 +22,30 @@ int main()
  vector<pair<string,string>>vt; vector<ll>v1;
  for(i=0;i<n;i++)
  {
  - cin>>h>>c; vt.pb({h,c});
  + cin>>h>>c;
  + vt.pb({h,c}); //making pair of team-name and institute-name
  +
  v[mp1[c]].pb(i); mp1[c]++;
  + /*mp1 is used to store total no. of team particiated from a single college.
  + Since rankings are given in order so we store position of each team
  + and v[mp1[c]] is represent the mp1[c] member of any institute.
  + So team selected from first stages will be in same index so it will also
  + arrange ranking ordre.*/
  }
  - for(i=0;i<k;i++)
  + for(i=0;i<k;i++) // Since from each institue total 'k' no. of teams possible
  {
  for(auto j: v[i])
  {
  v1.pb(j);cnt++;
  - if(cnt==m) break;
  + if(cnt==m) break; //if 'm' team selected break
  }
  - if(cnt==m) break;
  + if(cnt==m) break; //if 'm' team selected break
  }
  + // total 'm' teams will be selected for onsite round so checking it with if-else
  if(cnt==m)
  {
  sort(v1.begin(),v1.end());
  + //team names printed in ascending order of ranking so sort them
  for(auto i: v1)
  cout<<vt[i].F<<lc;
  cout<<lc;
  