题解 1269: 谁拿了最多奖学金

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

筛选

P1002 -_-!!!

摘要:#include<stdio.h> #include"string.h" int func(int a[],int n,int *s); struct info {     char nam……

P1002 (C++代码)

摘要:解题思路:    这种类型题目做得很多了,用结构体保存数据,按要求求出奖金,然后按要求排序即可。参考代码:#include <bits/stdc++.h> using namespace std; ……

P1002 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define true 1#define false 0typedef int Bool;ty……

P1002 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;struct student{  char name[1……

P1002-题解(C++代码)

摘要:```cpp #include #include "string" #include "algorithm" using namespace std; int main() { ……

P1002-题解(C语言代码)

#includeintmain(void){structSTU{charname[32];intx1;intx2;charc1;charc2;intnum;}stu[100];inti=0,n=0,max=0,sum=0;intmny[100]={0,

P1002-题解(C++代码)

```cpp#includeusingnamespacestd;typedefstructStu{charname[20];intqimo;intpingyi;chars_ganbu;charx_ganbu;intlunwen;intjiangjin=0;};voidcin_s(Stu*&s,

P1002-题解(C++代码)

结构体+临时变量搞定~AC代码:```cpp#includestructnode{charstname[21];intavescore;intpingyiscore;charganbu;charwestern;intlunwen;}record[110];intmain(){intn;scanf("%