题解 2916: 谁考了第k名

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

筛选

谁考了第k名

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

2916: 谁考了第k名

摘要:解题思路:注意事项:参考代码://冒泡排序 #include <stdio.h> int main() {     int n = 0, k = 0, a[105] = {0};//变量的声明……

2916: 谁考了第k名(python)

摘要:解题思路:注意事项:参考代码:def KEY(x):     return float(x[1])      n,k = map(int,input().strip().split()) nu……

输出第n名的排序程序

摘要:```c #include int main() { int sum, rank, r[100] = { 0 }, num[100];//r[]数组存放排名,num[]数组存放学号 fl……

用VS来写结构体数组并排序

摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <malloc.h>struct _node{ int……

谁考了第k名 C++

摘要:```cpp #include using namespace std; // 定义学生结构体 struct Student { int id; // 学号 ……

无聊的星期六

摘要:#include<stdio.h>  #include<stdlib.h> #include<string.h> typedef struct{ long name; float che……

谁考了第k名C解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n,k,j,m;    scanf("%d %d",&n,&k);    int a[n+1],i……

~~【Java】版本~~<Lambada>写法

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

谁考了第k名(C语言)

摘要:解题思路:注意事项:成绩交换后学号也需要交换参考代码:#include<stdio.h>int main(){    int n,k,a[101];    float score[101];    s……