看看:
struct stu { int id; } a[100001];
这是结构体 然后重点是sort哈哈哈
sort(a + 1, a + n + 1, [](stu a, stu b) { return a.id < b.id; })