#include <iostream> #include <vector> #include <algorithm> using namespace std; struct student{ int num; int score; }//定义结构体保存学号和成绩; bool compare(student lhs,student rhs) { //两种情况下不交换 //一。学生成绩左小于右 //二。如果学生的成绩相同,则学号左小于右 //其余情况都交换 if (lhs...