题解 1739: 成绩排序

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

筛选

1739: 成绩排序

```c未使用qsort排序``````c#include#include#includestructStu{charname[101];//注意不是100intage;intgrade;};structtmp{charname[101];intage;intgrade;};intmain(){int

成绩排序(水题)

```c#include#includestructstu{charname[200];inta,b;};intmain(){structstust[1001],t;intn,i,j;while(~scanf("%d",&n)){for(i=0;ist[j+1].a){t=st[j];st[j]=st

成绩排序!!

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

成绩排序c语言

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

此题有个小坑 答案错误50的可以看过来

#MarkDown编辑器基本使用说明**首先学习一个函数**/*原型:intstrcmp(constchar*s1,constchar*s2);头文件:#include功能:用来比较两个字符串参数:s1、s2为两个进行比较的字符串返回值:若s1、s2字符串相等,

1739: 成绩排序

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

成绩排序(C语言)

#include#includestructstudent{charname[200];intage;intscore;}s[1005];intmain(){intn;structstudentt;while(scanf("%d",&n)!=EOF){for(inti=0;i

成绩排序—题解(C 语言代码)——坑以说明

注意写这个题目的时候要注意名字相同时,对年龄排序,之前就是卡在这里卡了好些时间,还以为需要进行排序优化。题目:https://www.dotcpp.com/oj/problem1739.html```C#includestructstudent{chara[200];intage;intscore;}

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

```c#include#includestructa{charb[101];intc;intd;}student[1000],temp;intmain(){intn;while(scanf("%d",&n)!=EOF){for(inti=0;i