题解 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 评论 435 浏览 评分:9.9
数位排序暴力 摘要:解题思路:暴力注意事项:无参考代码:#pragma GCC optimize(3) #include <bits/stdc++.h> using namespace std; #define e…… 题解列表 2023年11月10日 0 点赞 0 评论 647 浏览 评分:9.9
优质题解 Yu金币简洁易懂写法 摘要: ##解析: 本题无法直接循环天数和金币数。 但是发现一个规律,连续的n天都发放n枚金币。 我们可以用while循环解决连续n天发放n枚金币。 **我的解法:** sum记…… 题解列表 2023年11月10日 0 点赞 0 评论 633 浏览 评分:9.9
题目2917:奇数单增排序,C语言 摘要:解题思路:a[]是原数组,b[]奇数数组注意事项:参考代码:#include<stdio.h>void input(int a[],int n); 输入数据。int f(int a[],int b…… 题解列表 2023年11月10日 0 点赞 0 评论 471 浏览 评分:9.9
数字的处理与判断(c语言)递归和循环 摘要:解题思路:首先分3步,第一步用while循环来获取位数第2步用递归来进行正序输出第3步用for循环,在这之前,你需要明白个位数是num/10的0次方,接着在%10取到我们所需要的位数,比如987除10…… 题解列表 2023年11月10日 0 点赞 0 评论 358 浏览 评分:9.9
1738: 排序(冒泡排序) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n, t; // 声明整数变量n和t int arr[100]; // …… 题解列表 2023年11月10日 0 点赞 0 评论 810 浏览 评分:9.9
(字符串匹配问题(strs)) C语言思路简单,易懂!!! 超详细解析 理解万岁 &_&!!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>typedef struct s{ int top; char data[1000]…… 题解列表 2023年11月11日 0 点赞 0 评论 564 浏览 评分:9.9
最高分数的题解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; int i; int a[1000]; int max=0; scanf("%d",&n); f…… 题解列表 2023年11月11日 0 点赞 0 评论 1025 浏览 评分:9.9
题解 2769: 计算并联电阻的阻值 摘要:解题思路:1651.注意事项:8741参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double …… 题解列表 2023年11月11日 0 点赞 0 评论 410 浏览 评分:9.9
计算直线的交点数 摘要:limit_max = 21 max_point = 200 # 行下标r代表直线数目,列下标c代表交点数目, # point[r][c]的值(0,1)则代表交点数是否存在 point =…… 题解列表 2023年11月11日 0 点赞 0 评论 560 浏览 评分:9.9