成绩排序(多多指教) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>typedef struct students{char name[101];int age;i…… 题解列表 2021年05月04日 0 点赞 0 评论 282 浏览 评分:0.0
成绩排序-题解(C语言代码) 摘要: #include #include struct student{ int age; int score; c…… 题解列表 2020年07月04日 0 点赞 0 评论 386 浏览 评分:0.0
成绩排序-题解(C语言代码) 摘要:解题思路:方法一:创建学生类,然后冒泡排序方法二:实现Arrays.Sort的Comparator排序方法注意事项:参考代码:方法一import java.util.Scanner; pub…… 题解列表 2020年08月19日 0 点赞 0 评论 380 浏览 评分:0.0
C++类的思想题解 摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s…… 题解列表 2023年11月01日 0 点赞 0 评论 181 浏览 评分:0.0
成绩排序-题解(C语言代码) 摘要:解题思路: 结合结构体与数组 用swap函数替换 达成排序,这里是将小的值排到前面 有些许参考https://blog.dotcpp.com/a…… 题解列表 2020年11月25日 0 点赞 0 评论 241 浏览 评分:0.0
成绩排序-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct data{ char str[101]; …… 题解列表 2020年11月26日 0 点赞 0 评论 426 浏览 评分:0.0
50分怎么办? 摘要:输入问题。每次输入学生的信息,用一个直接读入即可。scanf("%s %d %d", &students[i].name, &students[i].age, &students[i].marks);…… 题解列表 2023年08月24日 0 点赞 0 评论 215 浏览 评分:0.0
朴实无华的解法,只要你懂结构体,冒泡排序,strcmp函数,就能看得懂。 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>struct student{ char name[101]; int age; …… 题解列表 2021年04月02日 0 点赞 0 评论 431 浏览 评分:0.0
TMD,坑壁题目!! 摘要:注意事项: 不止一组输入!!不止一组输入!!! 也就是说输入其实是: 3 xxxx &nbs 题解列表 2023年08月10日 0 点赞 0 评论 254 浏览 评分:0.0
成绩排序(Python实现) 摘要:解题思路:注意事项:参考代码:def sort_students(students): students.sort(key=lambda x: (x[2], x[0], x[1])) re…… 题解列表 2023年11月12日 0 点赞 0 评论 276 浏览 评分:0.0