代码: #include<iostream> #include<cmath> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; struct fun{ int b1; int b2; }; bool cmp(fun x,fun y){  ...