题解 1739: 成绩排序

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

筛选

成绩排序(水题)

摘要:```c #include #include struct stu{ char name[200]; int a,b; }; int main(){ struct ……

1739: 成绩排序

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

成绩排序!!

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

成绩排序 题解

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

成绩排序c语言

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

成绩排序(容器)

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

选择排序:简单实现

摘要:解题思路:使用注意事项://此题有坑!//1.测试数据有多组!!!!//2.数据点2猜测包含有100个char的名字,因此name需要分配101的空间参考代码:#include<stdio.h&……