洛谷P1093奖学金题解--zhengjun

题面传送门c++ 思路 用结构体拍个序,而后输出就能够了。web 代码 #include<bits/stdc++.h> using namespace std; int n; struct zj{ int x,y,z,sum,num; bool operator < (const zj &a)const{ if(sum!=a.sum)return sum>a.sum; if(x!=a.
相关文章
相关标签/搜索