1111111111111111111111111111111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include <algorithm>using namespace std;int main(){…… 题解列表 2022年08月10日 0 点赞 0 评论 489 浏览 评分:0.0
871da84df5s6af4ads\ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string a,b; while(cin>>a>>b) {…… 题解列表 2022年08月10日 0 点赞 0 评论 321 浏览 评分:0.0
11111111111111111111111111111111111111111111111111111111a 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m; while(scanf("%d",&…… 题解列表 2022年08月10日 0 点赞 0 评论 410 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-故障 摘要:# 蓝桥杯2022年第十三届决赛真题-故障 全概率与贝叶斯公式。 用100减去未出现的现象的对应故障的概率。 令各个现象为Ri, 故障为A,B,C... 则P(R1R2R3..Rm|A) …… 题解列表 2022年08月10日 0 点赞 0 评论 1321 浏览 评分:9.9
判断N以内的素数 摘要:解题思路:(1)质数又称素数。一个大于1的自然数,除了1和它自身外,不能被其他自然数整除的数叫做质数;否则称为合数(规定1既不是质数也不是合数)。 (2)使用两层for循环…… 题解列表 2022年08月10日 0 点赞 1 评论 396 浏览 评分:9.9
有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int n; cin>>…… 题解列表 2022年08月10日 0 点赞 0 评论 294 浏览 评分:0.0
自由下落的距离计算 摘要:解题思路:注意事项:路程最后一次不算反弹参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int m…… 题解列表 2022年08月10日 0 点赞 0 评论 316 浏览 评分:0.0
利用最简单的数组巧妙解决问题 摘要:解题思路:因为这道题的难点是有重复去除的地方,所以我打算利用数组来解决,最开始初始化均为1,相加为501。当要去除哪段,就使哪段的数组等于0,那么相加之后的和就去除之后所剩余的树。注意事项:参考代码:…… 题解列表 2022年08月10日 0 点赞 1 评论 430 浏览 评分:9.9
蓝桥杯2022年积木画(python AC) 摘要:解题思路:对于这种在每一输入都有固定答案并且当前结果受前结果影响的情况下,动态规划是很好的选择;对于这道题来看,假设输入的N为i,2*N 的画布中有多少组合其实是受到 i-1 或者输入数 i 前任意一…… 题解列表 2022年08月10日 0 点赞 0 评论 774 浏览 评分:9.9
编写题解 1030: [编程入门]二维数组的转置(函数) 摘要:```c ```c //二维数组的转置 #include void ArrayTranspose(){ int s[3][3];//定义数组 int i, j;//这里假设i表示行…… 题解列表 2022年08月10日 0 点赞 0 评论 348 浏览 评分:9.9