成绩排序(Python实现) 摘要:解题思路:注意事项:参考代码:def sort_students(students): students.sort(key=lambda x: (x[2], x[0], x[1])) re…… 题解列表 2023年11月12日 0 点赞 0 评论 614 浏览 评分:0.0
题目 1739: 成绩排序 摘要:解题思路:注意事项:参考代码:def compare_students(student): name, age, score = student return (score, name, …… 题解列表 2023年11月10日 0 点赞 0 评论 674 浏览 评分:2.0
C++类的思想题解 摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s…… 题解列表 2023年11月01日 0 点赞 0 评论 544 浏览 评分:0.0
50分怎么办? 摘要:输入问题。每次输入学生的信息,用一个直接读入即可。scanf("%s %d %d", &students[i].name, &students[i].age, &students[i].marks);…… 题解列表 2023年08月24日 0 点赞 0 评论 523 浏览 评分:0.0
TMD,坑壁题目!! 摘要:注意事项: 不止一组输入!!不止一组输入!!! 也就是说输入其实是: 3 xxxx &nbs 题解列表 2023年08月10日 0 点赞 0 评论 573 浏览 评分:0.0
1739: 成绩排序 ```c未使用qsort排序``````c#include#include#includestructStu{charname[101];//注意不是100intage;intgrade;};structtmp{charname[101];intage;intgrade;};intmain(){int 题解列表 2023年04月30日 0 点赞 0 评论 711 浏览 评分:9.9
编写题解 1739: 成绩排序(有问题,求帮助) 都有问题,还没解决,暂时先记录一:#include#includetypedefstructstudent{charname[200];intage;intgreed;structstudent*next;}node;intmain(){intn;scanf("%d", 题解列表 2023年03月17日 0 点赞 0 评论 495 浏览 评分:0.0
LikeWater - 1739: 成绩排序(太难了啊啊啊啊啊!!!!希望大佬来帮忙啊!!!) ####:scream:!太难了啊啊啊啊啊!!!!这绝对是我写过最难的一道题,自己编写的快速排序,写了三重!!!最后还提示我仍然有错误,我实在找不到错误在哪里了,希望有大佬帮我一下!感谢,下面附上我的代码!以及我自己写的各种排序,希望能帮到大家忙!这是本题的代码, 题解列表 2023年02月28日 0 点赞 7 评论 507 浏览 评分:9.9
C++简便易懂,STL简便做法 ######先注意,题目中说的将学生数据按成绩从低到高排序,如果成绩相同则按姓名字符的字母序依次排序,如果姓名的字母序也相同则按照学生的年龄从小到大排序,,都是从小到大的顺序排的。######所以我们不可避免的要构造一个结构体######又因为是多组数据, 题解列表 2023年02月13日 0 点赞 0 评论 610 浏览 评分:9.9
1739: 成绩排序 ```csharp#include#include#includeusingnamespacestd;classStudent{public:Student(stringname,intage,intscore){this->m_name=name, 题解列表 2023年01月30日 0 点赞 0 评论 618 浏览 评分:9.9