利用sort进行结构体排序(简单易上手) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct Geade{ int id,y,s,e,s…… 题解列表 2022年11月03日 0 点赞 0 评论 134 浏览 评分:0.0
编写题解 2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { int id; int yw, sx, yy; int sum;};struct student a[…… 题解列表 2023年06月02日 0 点赞 0 评论 188 浏览 评分:0.0
奖学金(结构体实在是太好用啦) 摘要:解题思路:注意事项:注意只有前五名才有奖学金参考代码:#include<stdio.h> struct student { int sno; int Chinese; …… 题解列表 2023年10月10日 0 点赞 0 评论 145 浏览 评分:0.0
2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int xh,zf,a,b,c;} s[1000…… 题解列表 2023年12月16日 0 点赞 0 评论 186 浏览 评分:0.0
题解 2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int b[301]; int c[301]; int d[301]; …… 题解列表 2024年04月27日 0 点赞 0 评论 186 浏览 评分:0.0
重写compare方法 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Comparator;import java.util.Scanner;class St…… 题解列表 2024年05月01日 0 点赞 0 评论 300 浏览 评分:0.0
编写题解 2919: 奖学金 摘要:解题思路:定义结构,然后是输入题目要求,然后是根据要求进行判断,然后是采用冒泡法解决排序问题,最后是输出前五个.注意事项:一定要注意等于号和双等于号在c语言当中的区别参考代码:#include<std…… 题解列表 2022年10月23日 0 点赞 1 评论 400 浏览 评分:9.9
编写题解 2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { int id; int yu; int shu; int Eng;};int …… 题解列表 2022年10月31日 0 点赞 0 评论 330 浏览 评分:9.9
2919: 奖学金(c++) 摘要:```cpp #include using namespace std; typedef struct Stu { int hao;//学号 int a;//语文成绩 int b;/…… 题解列表 2022年11月07日 0 点赞 0 评论 285 浏览 评分:9.9
2919: 奖学金 摘要:```cpp #include #include using namespace std; struct student { int id,Chinese,score; }stu…… 题解列表 2023年01月12日 0 点赞 0 评论 175 浏览 评分:9.9