成绩排序 ( 重写Sort()方法 ) 摘要:import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; class Stu{ …… 题解列表 2022年12月08日 0 点赞 0 评论 186 浏览 评分:0.0
编写题解 2918: 成绩排序 摘要:解题思路:输入-冒泡法-输出注意事项:字符串的比较不能直接大小写参考代码:#include<stdio.h>#include<string.h>typedef struct student{ c…… 题解列表 2022年10月22日 0 点赞 0 评论 445 浏览 评分:3.0
2918:成绩排序 摘要:```c #include #include typedef struct student { char name[25]; int score; }student; int ma…… 题解列表 2023年09月17日 0 点赞 0 评论 320 浏览 评分:9.9
编写题解 2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int k; string s…… 题解列表 2023年11月25日 0 点赞 0 评论 123 浏览 评分:9.9
2918: 成绩排序 摘要:```cpp #include #include using namespace std; typedef struct student { char m[20]; in…… 题解列表 2023年01月13日 0 点赞 0 评论 341 浏览 评分:9.9
2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int n = 0, b[25] = {0}; …… 题解列表 2022年11月07日 0 点赞 0 评论 588 浏览 评分:9.9
编写题解 2918: 成绩排序 摘要:```c #include #include struct Student{ char name[20]; int score; }students[20],temp_st…… 题解列表 2024年05月27日 0 点赞 0 评论 252 浏览 评分:9.9
特别基础,用了结构体和选择排序, 摘要:解题思路:首先定义结构体,然后比较分数大小,遇到分数相同的,再比较字符串大小因为是选择排序,每次循环,都可以得到一个在最前面的下标,依次进行即可。注意事项:参考代码:#include <stdio.h…… 题解列表 2024年12月14日 1 点赞 0 评论 212 浏览 评分:10.0