题解 2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a; char b[20][20]; int c[20]…… 题解列表 2024年04月25日 1 点赞 0 评论 197 浏览 评分:0.0
成绩排序(python匿名函数解法) 摘要:解题思路:思路不难,python创建一个列表存储姓名和成绩,然后再将所有人的成绩存储到一个列表当中,直接用sort函数搭配lambda匿名函数对成绩和名字的字典序进行排序,再用for循环一一输出即可注…… 题解列表 2023年12月17日 0 点赞 0 评论 245 浏览 评分:0.0
c语言小白写法,用struct 摘要:解题思路:注意事项:参考代码:#include <stdio.h>typedef struct student{ int id; float score;} student;int mai…… 题解列表 2023年12月08日 0 点赞 0 评论 146 浏览 评分:0.0
编写题解 2918: 成绩排序 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2023年05月09日 0 点赞 0 评论 133 浏览 评分:0.0
成绩排序——C语言 摘要://C语言融合部分c++头文件,提交格式为c++ #include<stdio.h> #include<string.h> #include<stdlib.h> struct S { ch…… 题解列表 2023年03月22日 0 点赞 0 评论 193 浏览 评分:0.0
冒泡排序+compareto方法 摘要:参考代码:import java.util.Scanner;public class Main{ //定义结构体并初始化 public static class student { …… 题解列表 2023年03月14日 0 点赞 0 评论 151 浏览 评分:0.0
成绩排序 ( 重写Sort()方法 ) 摘要:import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; class Stu{ …… 题解列表 2022年12月08日 0 点赞 0 评论 249 浏览 评分:0.0
利用sort巧妙解。 摘要:解题思路: 利用sort解题注意事项: 注意sort的用法参考代码:#include<bits/stdc++.h> using namespace std; typedef struc…… 题解列表 2022年11月01日 0 点赞 0 评论 260 浏览 评分:0.0