#include <iostream> using namespace std; const int N = 10; int temp[N][3];//金牌数、奖牌数、人口数 int main() { int n, m; while(scanf("%d%d", &n, &m) != EOF){ for(int i = 0; i < n; i ++){ scanf("%d%d%d", &temp[i][0], &temp[i][1], &temp[i][2]); } //注意是float类...