题解 1739: 成绩排序

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

筛选

成绩排序(多多指教)

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

1739: 成绩排序

摘要:结构体的排序,自己写一个 sort 函数的比较算法就好了。#include<bits/stdc++.h> using namespace std; struct student{     s……

成绩排序 题解

摘要:解题思路:这题就是结构体排序,先是成绩,再是姓名,但我们还要考虑年龄。呵呵,这是个坑。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;in……

成绩排序(容器)

摘要:#include<iostream> using namespace std; #include<vector> #include<string> #include<algorithm> c……

成绩排序-题解(C语言代码)

摘要:解题思路:    结合结构体与数组              用swap函数替换 达成排序,这里是将小的值排到前面             有些许参考https://blog.dotcpp.com/a……