Loading

用sort给结构体排序

int comp(const student &a,const student &b)
{
    return a.score>b.score;
}

 

 

posted @ 2018-09-01 12:12  AntiO2  阅读(490)  评论(0编辑  收藏  举报