int num; int score; }student; int main() { student stu[5000] = { 0 }; student tmp; int n = 0; int m = 0; int i = 0; int j = 0; scanf("%d %d", &n, &m); for (i = 0;i < n;i++) { scanf("%d %d", &stu[i].num, &stu[i].score); } for (i = 0;i <...