编写题解 2920: 分数线划定 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct xs { int id; int mark;};struct xs x[5001];struct xs t;int mai…… 题解列表 2023年06月02日 0 点赞 0 评论 430 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,consume=0; char demand; scanf("%d %c",&m,…… 题解列表 2023年06月02日 0 点赞 0 评论 395 浏览 评分:0.0
编写题解 2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { int id; int yw, sx, yy; int sum;};struct student a[…… 题解列表 2023年06月02日 0 点赞 0 评论 458 浏览 评分:0.0
1328: 移动服务员 摘要:```cpp #include #include #include using namespace std; int f[2][210][210],p[1010],c[210][210],l…… 题解列表 2023年06月02日 0 点赞 0 评论 859 浏览 评分:9.9
1327: [NOIP2005]等价表达式 摘要:```cpp #include #include using namespace std; const int mod=10001; char w[51],c[51]; int a[100…… 题解列表 2023年06月02日 0 点赞 0 评论 572 浏览 评分:9.9
优质题解 2797: 最高的分数(C++STL)解题 摘要:###### 解题思路: 将所有的数据存储到数组中去,,使用sort函数对他们进行排序,然后再输出就可以啦 ###### 注意事项: 在使用sort函数前,先了解一下它吧 它是ST…… 题解列表 2023年06月02日 0 点赞 0 评论 1354 浏览 评分:9.9
二级C语言-同因查找 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; for(n=10;n<=1000;n++) { if(…… 题解列表 2023年06月02日 0 点赞 0 评论 320 浏览 评分:0.0
C++for循环简单实现 摘要:###### 解题思路: 对于输入中的换行,我们可以使用while()条件循环去解决,在输入n之后,在使用数组对输入的数进行存储,在定义一个double类型的sum(如果是int类型,就会出现结果是…… 题解列表 2023年06月02日 0 点赞 0 评论 774 浏览 评分:9.9
C语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct student{ long int id; float score;};i…… 题解列表 2023年06月02日 0 点赞 0 评论 752 浏览 评分:0.0
题解 2189: diamond 摘要:解题思路: 1.找规律,把图形分成上三角和下三角两个部分 上三角:每一行“*”比下一行少两个;偶数行不输出;居中对齐 下三角:每一行“*& 题解列表 2023年06月02日 0 点赞 0 评论 461 浏览 评分:9.9