蓝桥杯2022年第十三届省赛真题-求和(c语言) 摘要:解题思路:按照a2*a1+a3*(a1+a2)+a4*(a1+a2+a3)+....+an*(a1+a2+a3+...+a(n-1))进行的计算注意事项:参考代码:#include <stdio.h>…… 题解列表 2024年06月01日 3 点赞 0 评论 511 浏览 评分:10.0
2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N =1e3;ll a…… 题解列表 2024年06月01日 0 点赞 0 评论 255 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:1.封装成函数,传入数据量n即可,函数返回平均值,2.函数通过循环获取输入,并累加求和,3.计算平均值,函数结果回传注意事项:此题要求得到平均值,但结果是一个整数,如例子给出的 3 4 0 …… 题解列表 2024年06月01日 0 点赞 0 评论 184 浏览 评分:0.0
1100采药(dp记忆化搜索) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstring>using namespace std;const int M…… 题解列表 2024年06月01日 0 点赞 0 评论 298 浏览 评分:0.0
2880: 计算鞍点 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e3+5;typedef long long ll;ll…… 题解列表 2024年06月01日 0 点赞 0 评论 294 浏览 评分:9.9
2886: 图像旋转 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e3+5;typedef long long ll;ll…… 题解列表 2024年06月01日 0 点赞 0 评论 176 浏览 评分:9.9
1242: 矩阵转置 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e3+5;typedef long long ll;ll…… 题解列表 2024年06月01日 0 点赞 0 评论 208 浏览 评分:0.0
贪心+DP的思路就可以解决问题。。。 摘要:解题思路:按照w+v的值从小到大排列后可以使后面的能够放在下面的可能最大。。。注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const in…… 题解列表 2024年05月31日 0 点赞 0 评论 230 浏览 评分:9.9
1099校门外的树(数组解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m;//马路长度 int n;//组数 cin >> m >>…… 题解列表 2024年05月31日 0 点赞 0 评论 215 浏览 评分:0.0
1098陶陶摘苹果(for循环遍历解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[15];//存苹果高度 int b;//存陶陶的高度 in…… 题解列表 2024年05月31日 0 点赞 0 评论 353 浏览 评分:0.0