![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
排序
jetpack_
这个作者很懒,什么都没留下…
展开
-
【PAT】A1075 PAT Judge (25分)---排序
做题笔记: 这道题题目条件逻辑关系还是比较多的: 首先结构体定义好 struct node { int id; int score[6]; int sum; //总分 int num; //满分数 bool flag; //是否有过有效提交 node(){ memset(score, -1, sizeof(score));//初始分数为-1 sum = 0; num = 0; flag = false; } }stu[maxn]; 再是几点注意点,题目逻辑:原创 2020-06-05 01:43:52 · 80 阅读 · 0 评论 -
【PAT】 A1055 The Worlds Richest (25分)
题目链接 1055 The World’s Richest (25分) Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world’s wealthiest people. Now you are supposed to simulate this job, but concentrate only on the people in a certain range原创 2020-06-04 23:37:48 · 110 阅读 · 0 评论