1073: 弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; char x; in…… 题解列表 2022年05月02日 0 点赞 0 评论 303 浏览 评分:0.0
1074: 数字整除 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int maxn=100+20;char s[maxn];int mai…… 题解列表 2022年05月02日 0 点赞 0 评论 286 浏览 评分:0.0
1075: 台球碰撞 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define pi 3.1415 using namespace std;int L, W,x, y, R,a, v, s…… 题解列表 2022年05月02日 0 点赞 0 评论 292 浏览 评分:0.0
1100: 采药-动态规划 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,m,a[10000],b[10000],f[1005]; i…… 题解列表 2022年05月02日 0 点赞 0 评论 256 浏览 评分:0.0
1102: 明明的随机数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int n,a[1005],t,s;int main() { cin>>n; fo…… 题解列表 2022年05月02日 0 点赞 0 评论 260 浏览 评分:0.0
编写题解 1562: 蓝桥杯算法提高VIP-计算时间 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdio.h> using namespace std; int main() { …… 题解列表 2022年05月02日 0 点赞 0 评论 355 浏览 评分:0.0
[编程入门]自定义函数处理素数 摘要:解题思路:直接判断是否为素数注意事项:sqrt!参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("…… 题解列表 2022年05月02日 0 点赞 0 评论 336 浏览 评分:0.0
公约公倍 题解 摘要:解题思路:这题就是求两个数的最大公约数和最小公倍数。我就直接用函数做!注意事项:在调用函数前别忘了加上“__”!参考代码:#include<bits/stdc++.h>using namespace …… 题解列表 2022年05月02日 0 点赞 0 评论 396 浏览 评分:0.0
温度转换 题解 摘要:解题思路:直接套公式!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double f;int main(){ scanf("%l…… 题解列表 2022年05月02日 0 点赞 0 评论 357 浏览 评分:0.0
猴子吃桃的问题 摘要:解题思路:求原来的桃子数,这题也就是逆推法。注意事项:s初始值为1。参考代码:#include<bits/stdc++.h>using namespace std;int n,s=1;int main…… 题解列表 2022年05月02日 0 点赞 0 评论 319 浏览 评分:0.0