RT,模拟
#include<algorithm>
#include<iostream>
#include<cstdio>
using namespace std;
double gpt,xf,a[100110],b[100110];
int n,k;
int main()
{
freopen("sort.in","r",stdin);
freopen("sort.out","w",stdout);
scanf("%d %d",&n,&k);
for(int i=1; i<=n; i++)
{
scanf("%lf %lf",&gpt,&xf);
a[i]=gpt/xf;
}
sort(a+1,a+1+n);
for(int i=1; i<=n; i++)
b[n-i+1]=a[i];
printf("%.2lf",b[k]);
return 0;
}