#include <bits/stdc++.h>
using namespace std;
struct node {
double goldNum, medalNum, population;
int countryID;
int rank = 99999;
int randStyle = 99999;
};
int cmp1(node n1, node n2) {
return n1.goldNum > n2.goldNum;
}
int cmp2(node n1, node n2) {
...