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
相關文章
相關標籤/搜索