蓝桥杯算法训练VIP-学生成绩(Java代码) 面向对象 摘要:解题思路: 构造对象,重写比较方法注意事项:参考代码:import java.util.Arrays; import java.util.Scanner; public class Main…… 题解列表 2021年02月22日 0 点赞 0 评论 502 浏览 评分:0.0
简单易懂的解题思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct cjd{ char name[25]; char xb[25]; …… 题解列表 2024年03月01日 0 点赞 0 评论 188 浏览 评分:0.0
蓝桥杯算法训练VIP-学生成绩 C++ STL 摘要:# stable_sort 排序函数 ```c++ #include #include #include using namespace std; int n; const int N …… 题解列表 2023年08月04日 0 点赞 0 评论 181 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct student{ char name[21]; char sex[21];…… 题解列表 2023年06月29日 0 点赞 0 评论 119 浏览 评分:0.0
1598学生成绩——JAVA详细代码注释小白向题解 摘要:解题思路:这是一道非常典型的对象排序问题。对学生类对象中的成绩属性按升序排序。我才用的是列表存放学生对象,使用Comparator重写排序方法进行成绩升序排序。注意事项:参考代码:import jav…… 题解列表 2023年03月07日 0 点赞 0 评论 153 浏览 评分:0.0
学生成绩,1598 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ struct Student { char name[100]; char sex[100]; int a…… 题解列表 2022年06月21日 0 点赞 0 评论 202 浏览 评分:0.0
编写题解 1598: 蓝桥杯算法训练VIP-学生成绩 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> #include<algorithm> #include<vector> using na…… 题解列表 2022年05月20日 0 点赞 0 评论 146 浏览 评分:0.0
1598: 蓝桥杯算法训练VIP-学生成绩 摘要:解题思路:注意事项:参考代码:x=int(input().strip()) ls=[] for i in range(x): inp=map(str,input().split()) …… 题解列表 2022年04月23日 0 点赞 0 评论 302 浏览 评分:0.0
1598: 蓝桥杯算法训练VIP-学生成绩 摘要:学 Java 去了好久没刷了,来一题练练手感。直接用 STL 自带的稳定排序函数,切记不能用 sort(),需要用 stable_sort()。#include <bits/stdc++.h> us…… 题解列表 2022年02月27日 0 点赞 0 评论 144 浏览 评分:0.0
python-学生成绩 摘要:解题思路:将每个学生看作一个对象,每次输入依次对对象赋值,经过排序后将结果输出。注意事项:参考代码:class student: def __init__(self,name,sex,a…… 题解列表 2022年01月23日 0 点赞 0 评论 252 浏览 评分:0.0