- 博客(2)
- 收藏
- 关注
原创 PAT A1025多考场考生排序
#include #include #include using namespace std; struct student{ long long no; int local, finRank, localRank,score; }; bool cmp(student o1,student o2){ if (o1.score != o2.score) retur
2017-06-19 12:25:54 251
原创 贪心算法区间不相交问题
#include #include using namespace std; const int maxn = 110; struct Inteval{ int left, right; }I[maxn]; bool cmp(Inteval a, Inteval b){ if (a.left != b.left) return a.left > b.left; els
2017-06-19 12:13:21 358
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人