- 博客(2)
- 收藏
- 关注
原创 C++学习日记——excel排序
#include #include #include using namespace std;struct student{ int id; char name[20]; int score;}buf[100000];bool cmp1(student a,student b){ return a.id<b.id;}bool cmp2(student a,stud
2014-04-29 14:14:31 634
原创 C++学习日记——成绩排序
#include #include #include using namespace std;struct student { string name; int age; int score; bool operator < (const student &b) const { if(score!=b.score) return score<b.score; int t
2014-04-29 12:56:20 1620
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人