#include <iostream>
#include <vector>
#include <algorithm>
struct Student {
std::string name;
int score;
Student(std::string n, int s) : name(n), score(s) {}
};
int main() {
std::vector<Student> stu = {{"Alice", 88}, {"Bob", 95}, {"Charlie", 76}};
// 此处替换为排序的比较代码
for(auto& s : stu) std::cout << s.name << " ";
return 0;
}