#include #include #include #include using namespace std; typedef long long LL; const int maxn = 110; struct St { char* name; double sc; int male; St() {} St(char *name,double sc,int male):name(name),sc(sc),male(male) {} bool operator<(const St& rhs) const { return sc > rhs.sc; } }; vector save; double s1[maxn],s2[maxn]; char name[maxn][30],ma[maxn][10]; int main() { //freopen("test.txt","r",stdin); int T; scanf("%d",&T); while(T--) { int n,m; scanf("%d %d",&n,&m); puts("The member list of Shandong team is as follows:"); double mx1 = 0,mx2 = 0; bool famale = false; for(int i=0;i