1739: 成绩排序 摘要:```c 未使用qsort排序 ``` ```c #include #include #include struct Stu { char name[101];//注意不是10…… 题解列表 2023年04月30日 0 点赞 0 评论 404 浏览 评分:9.9
[编程入门]密码破译 摘要:一、解题思路:输入值+4C参考代码:#include int main() { char a, b, c, d, e; scanf("%d%d%d%d%d", &a, &b, &c, &d, …… 题解列表 2023年04月30日 0 点赞 0 评论 442 浏览 评分:9.9
简单又实用 摘要:解题思路:在已知的条件下,我们只需要一步一步去解析然后分解就可以完成这道题啦注意事项:参考代码:#include<iostream>using namespace std;int main(){ …… 题解列表 2023年05月01日 0 点赞 0 评论 443 浏览 评分:9.9
用ceil函数即可 摘要:解题思路:ceil函数可实现向上求整,此题思路为向下求整,故减一即可。注意事项:参考代码: #include<iostream> using namespace std; #include<cm…… 题解列表 2023年05月01日 0 点赞 0 评论 241 浏览 评分:9.9
pow函数算平方根 摘要:解题思路:利用pow函数来求开方,与sqrt函数求开方同理注意事项:1/2是整型,等于零,应该用1.0/2参考代码:#include<iostream>using namespace std;#inc…… 题解列表 2023年05月01日 0 点赞 0 评论 352 浏览 评分:9.9
普通的写法 摘要:```cpp #include #include using namespace std; const int N =1010; int a[N],b[N]; int main() {…… 题解列表 2023年05月01日 0 点赞 0 评论 458 浏览 评分:9.9
普通的写法 摘要:```cpp #include #include #include using namespace std; const int N=20000; int a[N],b[N]; int …… 题解列表 2023年05月01日 0 点赞 1 评论 431 浏览 评分:9.9
ASCll码巧解约束项 摘要:解题思路:根据题目所列条件,我们要根据switch语句来模拟计算器,但是switch语句又不能直接根据字符来选出情况(即case后面不能直接跟'+'),所以我们可以找到一个中间量:即将…… 题解列表 2023年05月02日 0 点赞 0 评论 287 浏览 评分:9.9
编写题解 2225: 蓝桥杯算法训练-出现次数最多的整数 摘要:解题思路:只用for语句就行注意事项:参考代码:#include <stdio.h> int main(){ int n,a[10000],b[10000],c[10000],t,e,m=0,d=0,…… 题解列表 2023年05月02日 0 点赞 0 评论 302 浏览 评分:9.9
蓝桥杯算法提高VIP-乘法运算(优质题解)(此题第一个Python题解) 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().strip().split())g=s=yh=er=jg=0g=n%10s=n//10yh=m*ger=s*mjg=yh+er*1…… 题解列表 2023年05月02日 0 点赞 0 评论 276 浏览 评分:9.9