2330: 信息学奥赛一本通T1178-成绩排序 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; struct dev { …… 题解列表 2023年10月28日 0 点赞 0 评论 801 浏览 评分:0.0
信息学奥赛一本通T1178-成绩排序 结构体 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体s,包含一个字符串k和一个整数j struct s{ …… 题解列表 2024年11月28日 0 点赞 0 评论 590 浏览 评分:0.0
信息学奥赛一本通T1178-成绩排序-题解(C++代码) #自定义排序cmp即可```c#includeusingnamespacestd;structT{stringa;intb;}a[25];boolcmp(Ta,Tb){if(a.b==b.b)returna.ab.b;}intmain(){intn;cin>>n;for(inti=0;i>a[i].a 题解列表 2020年07月21日 1 点赞 2 评论 2556 浏览 评分:6.5
信息学奥赛一本通T1178-成绩排序-题解(C++代码)喜欢pair吗~ 摘要:解题思路:注意事项:注意排序规则即可~参考代码:#include <iostream> #include <algorithm> using namespace std; typedef pai…… 题解列表 2020年12月18日 1 点赞 0 评论 997 浏览 评分:6.9
信息学奥赛一本通T1178-成绩排序-题解(C++代码)间接排序~ 摘要:解题思路:结构体有很多大佬们写了,我就先来一个 间接排序 之后再来一个 pair注意事项:注意排序规则,和使用方法。参考代码:#include <iostream> #include <algori…… 题解列表 2020年12月18日 0 点赞 0 评论 1968 浏览 评分:7.7
信息学奥赛一本通T1178-成绩排序-题解(Java代码) 面向对象 摘要:解题思路: 面向对象,构造对象,重写方法注意事项:参考代码:import java.util.Arrays; import java.util.Scanner; class Main i…… 题解列表 2021年02月15日 0 点赞 0 评论 2304 浏览 评分:9.9
冒泡排序法解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct stu{ char name[20]; int score;};int…… 题解列表 2021年04月19日 0 点赞 0 评论 1264 浏览 评分:9.9
成绩排序 (Java代码) 摘要:import java.util.Scanner; class student{ String name; int score; } public class Main{…… 题解列表 2022年05月16日 0 点赞 0 评论 1327 浏览 评分:9.9
2330: 信息学奥赛一本通T1178-成绩排序 ```cpp#include#includeusingnamespacestd;typedefstructstudent{charm[20];intg;}S;boolcmp(Sx1,Sx2){if(x1.g==x2.g)for(inti=0;ix2.m[i])returnfalse;elseif(x1 题解列表 2023年02月15日 0 点赞 0 评论 1216 浏览 评分:9.9
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ string name; doubl…… 题解列表 2023年11月09日 0 点赞 0 评论 904 浏览 评分:9.9