题解 2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c=0; cin>>a; for(int i…… 题解列表 2023年11月10日 0 点赞 0 评论 248 浏览 评分:0.0
题目 1739: 成绩排序 摘要:解题思路:注意事项:参考代码:def compare_students(student): name, age, score = student return (score, name, …… 题解列表 2023年11月10日 0 点赞 0 评论 368 浏览 评分:2.0
数位排序暴力 摘要:解题思路:暴力注意事项:无参考代码:#pragma GCC optimize(3) #include <bits/stdc++.h> using namespace std; #define e…… 题解列表 2023年11月10日 0 点赞 0 评论 469 浏览 评分:9.9
题解 2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d=0,e=0,res=0; cin>>…… 题解列表 2023年11月10日 0 点赞 0 评论 199 浏览 评分:0.0
2822: 求分数序列和 摘要:``` #include using namespace std; int main(){ int n; double c=0,sum=0,a=3,b=2,c1=2,y=0; cin…… 题解列表 2023年11月10日 0 点赞 0 评论 163 浏览 评分:7.3
c代码记录之宏定义找最大数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define MAX(a,b,c) (a>b?a:b)>c?(a>b?a:b):c //#define MAX(a,b,c) …… 题解列表 2023年11月10日 0 点赞 0 评论 211 浏览 评分:0.0
变幻的矩阵(他这题,呃我不知道检测的数据是什么,记得初始化时不要char a[n][n]这样,会答案错误,数组空间定义时不能用变量) 摘要:解题思路:写代码要逐渐习惯模块化了,这里用四个函数来实现矩阵的四种可能性注意事项:参考代码:#include<stdio.h> int unchange(int n,char a1[20][20],…… 题解列表 2023年11月10日 0 点赞 2 评论 306 浏览 评分:2.0
题解 2813: 药房管理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d=0,e=0; cin>>a>>b; …… 题解列表 2023年11月10日 0 点赞 0 评论 301 浏览 评分:9.9
2797: 最高的分数 摘要:``` #include using namespace std; int main(){ int n,b,a=0; cin>>n; for(int i=1;i>b; if(a…… 题解列表 2023年11月10日 0 点赞 0 评论 337 浏览 评分:9.9
题解 3077: 信息学奥赛一本通T1332-周末舞会 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d=0,e=0; cin>>a>>b>>…… 题解列表 2023年11月10日 0 点赞 0 评论 329 浏览 评分:0.0