#include #include #include #include #include #include #include typedef long long l; typedef double d; typedef char c; using namespace std; struct wjh{ int x; int y; }arr[10000]; bool cmp(wjh a,wjh b){ return a.y>a>>b>>c>>d; for(int i=0;i>arr[i].x>>arr[i].y; } sort(arr,arr+a,cmp); for(int i=0;i