PAT (Advanced Level) 1012 The Best Rank

题目连接:1012 The Best Rankios 解题思路:分别对各科成绩和平均成绩进行排名并记录,以后输出学生各科和平均成绩中按照优先级最好的排名。spa 坑点:如有n我的排名同为i,则下一个排名应该为i+n,而非i+1.code AC代码:ci /*1012 the best rank*/ #include <iostream> #include <algorithm> #include
相关文章
相关标签/搜索