2918: 成绩排序 ```cpp#include#includeusingnamespacestd;typedefstructstudent{charm[20];intg;}S;boolcmp(Sx1,Sx2){if(x1.g==x2.g)for(inti=0;ix2.m[i])returnfalse;elseif(x1 题解列表 2023年01月13日 0 点赞 0 评论 756 浏览 评分:9.9
编写题解 2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int k; string s…… 题解列表 2023年11月25日 0 点赞 0 评论 535 浏览 评分:9.9
利用sort巧妙解。 摘要:解题思路: 利用sort解题注意事项: 注意sort的用法参考代码:#include<bits/stdc++.h> using namespace std; typedef struc…… 题解列表 2022年11月01日 0 点赞 0 评论 720 浏览 评分:0.0