题解 2916: 谁考了第k名

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

筛选

pair来写容易很多

摘要:解题思路:pair第一个存学号第二个存成绩然后用bool来进行判断加上sort排序注意事项:参考代码:#include<iostream>#include<algorithm>using namesp……

谁考了第k名

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args)  ……

谁考了第k名java

摘要:import java.util.Scanner;public class 谁考了第k名 {    public static void main(String[] args) {        Sc……

谁考了第K名(java)

摘要:解题思路:注意事项:参考代码:package Fifteen;import java.util.Scanner;public class 谁考了第k名 {    public static void ……

2916: 谁考了第k名

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;long long xh[10001],temp1;int m[10001];float sc……

谁考了第K名

摘要:解题思路:注意事项:参考代码:public class Main {     public static void main(String[] args) {         Scanner sc =……

谁考了第k名

摘要:解题思路:注意事项:参考代码:n,k=map(int,input().split())s=[]for i in range(n):    a=tuple(map(eval,input().split(……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#define maxsize 100typedef struct{    double sco……