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

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

筛选

P1002 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<algorithm>using namespace std;struct Stude……

P1002 (C语言代码)

摘要:解题思路: 用循环和数组即可注意事项:参考代码:#include <stdio.h>int main() {    int n;    scanf("%d", &n);    int i, a[n],……

P1002-题解(C++代码)

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

P1002 (C语言代码)

摘要:题目链接:http://www.dotcpp.com/oj/problem1269.html 解题思路:简单的方法就是利用结构体,创建一个结构体数组,对其中的成员进行操作,然后比较即可注意事项:对于数……

P1002 (C++代码)

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

P1002 -_-!!!

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

P1002 (C++代码)

摘要:#include<iostream> #include<stdio.h> #include<cmath> #include<algorithm> #include<string> using……

P1002 (C语言代码)——利用结构体

摘要:解题思路:1)要一次输入多个值,利用结构体比较方便2)对于奖学金的评定,有一些关于分数的要求,比较时可以自己为他们排一下序,比如如果不大于80,就不用可虑大于90了,所以把大于90的奖学金放在大于80……