题解 1739: 成绩排序

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

成绩排序 (Python代码)

摘要: 前提申明:我使用了两种解法但是结果都是错误50%,但没有找到问题所在,自己测试 了几组特殊数据排序正确的 分析: 方法一:先按成绩冒泡排序,再按名字冒泡排序,再按年龄冒泡排序……

题目 1739: 成绩排序

摘要:解题思路:注意事项:参考代码:def compare_students(student):    name, age, score = student    return (score, name, ……

对矩阵二维数组还是不是很熟悉啊

摘要:解题思路:注意事项:折腾了这么久,不懈题解对不起自己看时间一道题也高了快一个小时了参考代码:##while True:##    n=int(input())##    lh=[]##    for ……

成绩排序c语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h> struct student{    char name[200];    int age; ……

TMD,坑壁题目!!

摘要:注意事项: 不止一组输入!!不止一组输入!!!                也就是说输入其实是:                 3                xxxx      &nbs

50分怎么办?

摘要:输入问题。每次输入学生的信息,用一个直接读入即可。scanf("%s %d %d", &students[i].name, &students[i].age, &students[i].marks);……

C++类的思想题解

摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s……

成绩排序(Python实现)

摘要:解题思路:注意事项:参考代码:def sort_students(students):    students.sort(key=lambda x: (x[2], x[0], x[1]))    re……