1.dev过第二个例子就是对的,牛客居然通不过,抽象#include<iostream>#include<algorithm>using namespace std;typedef struct{ int x; int y;}number;bool cmp(number a,number b){ if(a.x>b.x) return true; return false;}bool cmb(number c,number d){&nbs...