编写题解 2918: 成绩排序 摘要:解题思路:输入-冒泡法-输出注意事项:字符串的比较不能直接大小写参考代码:#include<stdio.h>#include<string.h>typedef struct student{ c…… 题解列表 2022年10月22日 0 点赞 0 评论 806 浏览 评分:3.0
利用sort巧妙解。 摘要:解题思路: 利用sort解题注意事项: 注意sort的用法参考代码:#include<bits/stdc++.h> using namespace std; typedef struc…… 题解列表 2022年11月01日 0 点赞 0 评论 720 浏览 评分:0.0
2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int n = 0, b[25] = {0}; …… 题解列表 2022年11月07日 0 点赞 0 评论 1173 浏览 评分:9.9
成绩排序 ( 重写Sort()方法 ) 摘要:import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; class Stu{ …… 题解列表 2022年12月08日 0 点赞 0 评论 735 浏览 评分:0.0
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
冒泡排序+compareto方法 摘要:参考代码:import java.util.Scanner;public class Main{ //定义结构体并初始化 public static class student { …… 题解列表 2023年03月14日 0 点赞 0 评论 482 浏览 评分:0.0
成绩排序——C语言 摘要://C语言融合部分c++头文件,提交格式为c++ #include<stdio.h> #include<string.h> #include<stdlib.h> struct S { ch…… 题解列表 2023年03月22日 0 点赞 0 评论 625 浏览 评分:0.0
编写题解 2918: 成绩排序 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2023年05月09日 0 点赞 0 评论 460 浏览 评分:0.0
2918:成绩排序 ```c#include#includetypedefstructstudent{charname[25];intscore;}student;intmain(){intn=0,i=0,j=0;studentstu[20]={0};studenttemp;scanf("%d", 题解列表 2023年09月17日 0 点赞 0 评论 687 浏览 评分:9.9
成绩排序(用结构体来做) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct student { char name[20]; int…… 题解列表 2023年10月09日 0 点赞 0 评论 634 浏览 评分:0.0