P1002 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<algorithm>using namespace std;struct Stude…… 题解列表 2018年06月03日 0 点赞 0 评论 1678 浏览 评分:0.0
P1002 (C语言代码) 摘要:解题思路: 用循环和数组即可注意事项:参考代码:#include <stdio.h>int main() { int n; scanf("%d", &n); int i, a[n],…… 题解列表 2018年08月04日 0 点赞 0 评论 1233 浏览 评分:0.0
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, 题解列表 2020年03月03日 0 点赞 0 评论 942 浏览 评分:0.0
P1002-题解(C++代码) 摘要:```cpp #include #include "string" #include "algorithm" using namespace std; int main() { …… 题解列表 2019年12月18日 0 点赞 0 评论 1056 浏览 评分:0.0
P1002 (C语言代码) 题目链接:http://www.dotcpp.com/oj/problem1269.html解题思路:简单的方法就是利用结构体,创建一个结构体数组,对其中的成员进行操作,然后比较即可注意事项:对于数组要初始化,否则自增无意义参考代码:#includestructstudent{cha 题解列表 2018年07月02日 0 点赞 0 评论 1180 浏览 评分:0.0
P1002 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;struct student{ char name[1…… 题解列表 2019年04月04日 0 点赞 0 评论 1605 浏览 评分:0.0
P1002 -_-!!! 摘要:#include<stdio.h> #include"string.h" int func(int a[],int n,int *s); struct info { char nam…… 题解列表 2018年11月26日 1 点赞 0 评论 1599 浏览 评分:0.0
P1002 (C++代码) 摘要:#include<iostream> #include<stdio.h> #include<cmath> #include<algorithm> #include<string> using…… 题解列表 2018年08月23日 0 点赞 0 评论 2293 浏览 评分:0.0
P1002 (C语言代码)——利用结构体 解题思路:1)要一次输入多个值,利用结构体比较方便2)对于奖学金的评定,有一些关于分数的要求,比较时可以自己为他们排一下序,比如如果不大于80,就不用可虑大于90了,所以把大于90的奖学金放在大于80的语句里面,可以减少一些不必要的资源浪费注意事项:1)利用数组, 题解列表 2018年08月18日 0 点赞 0 评论 1253 浏览 评分:0.0