信息学奥赛一本通T1176-谁考了第k名-题解(C++代码) 摘要:# 自定义排序cmp即可 ```c #include using namespace std; int m,n; struct T{ int a; double b; }a…… 题解列表 2020年07月21日 0 点赞 0 评论 2015 浏览 评分:5.5
字典写了一遍 摘要:解题思路:试了试字典写法注意事项:有的慢,还可以优化,个人水平不足,供各位参考参考代码:d=[]d1={}n,m=map(int,input().split())for i in range(n): …… 题解列表 2024年12月08日 0 点赞 0 评论 89 浏览 评分:2.0
使用比较器对数组列进行排序 摘要:解题思路: 使用比较器对列进行排序。注意事项: 使用比较器对列进行排序只需要把(b[1], a[1])换成(b[i], a[i])即可。参考代码:import java.util.*;public c…… 题解列表 2024年03月31日 0 点赞 0 评论 100 浏览 评分:0.0
C语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct student{ long int id; float score;};i…… 题解列表 2023年06月02日 0 点赞 0 评论 120 浏览 评分:0.0
冒泡排序c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int name; double s…… 题解列表 2023年11月09日 0 点赞 0 评论 78 浏览 评分:0.0
~~【Java】版本~~<Lambada>写法 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] arg…… 题解列表 2024年02月21日 0 点赞 0 评论 104 浏览 评分:0.0