P1002 (C语言代码) 摘要://奖学金.c #include <stdio.h> struct student { char name[21]; int lmark; int clmark; …… 题解列表 2017年11月24日 0 点赞 0 评论 1222 浏览 评分:0.0
面向对象:将每位同学视为一个对象进行操作; 摘要:解题思路: 将每一位同学视为一个对象,对对象进行操作,思路简单; 在判断是否有相同奖学金时,所用方法有些麻烦。(若您有更简单 题解列表 2022年02月16日 0 点赞 0 评论 237 浏览 评分:0.0
P1002(结构体) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 179 浏览 评分:0.0
P1002-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ struct STU { char name[32]; int x1…… 题解列表 2020年12月01日 0 点赞 0 评论 465 浏览 评分:0.0
P1002-题解(C语言代码) 摘要:这一题难度不大,选择一个结构体数组,将学生的所有信息囊括就行,同时设置变量 money 表示学生获得的奖学金数额,allmoney 用于统计所有的奖学金数额。为了满足题目的条件:“如果有两位或两位以上…… 题解列表 2020年10月08日 0 点赞 0 评论 463 浏览 评分:0.0
P1002(C++)结构体,自定义排序 摘要:解题思路:定义结构体+结合sort排序+自定义类型排序注意事项:两个获得奖金一致时,按输入顺序输出先输入的参考代码:#include <iostream>#include <algorithm>usi…… 题解列表 2022年06月15日 0 点赞 0 评论 314 浏览 评分:0.0
P1002-题解(C++代码) 摘要:```cpp #include using namespace std; typedef struct Stu{ char name[20]; int qimo; …… 题解列表 2020年03月12日 0 点赞 0 评论 555 浏览 评分:0.0
P1002-题解(C语言代码) 摘要: #include int main(void) { struct STU { char name[32]; int x…… 题解列表 2020年03月03日 0 点赞 0 评论 352 浏览 评分:0.0
P1002-题解(C++代码) 摘要:```cpp #include #include "string" #include "algorithm" using namespace std; int main() { …… 题解列表 2019年12月18日 0 点赞 0 评论 490 浏览 评分:0.0
P1002 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;struct student{ char name[1…… 题解列表 2019年04月04日 0 点赞 0 评论 743 浏览 评分:0.0