编写题解 2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b;bool d;char c;cin>>a>>b…… 题解列表 2024年06月02日 0 点赞 0 评论 116 浏览 评分:0.0
C++-使用动态数组,使用检查目标数组是否重复或检查原数组待输入值是否重发 摘要:解题思路: 排序:使用的普通的冒泡排序,其他的排序也可以无影响 去重: 思路1:检测目标数组是否存在与当前出原数组待输入项相等的值 思路2:检测原数组待输入项i与i-1项是否相等 注意事…… 题解列表 2024年06月01日 0 点赞 0 评论 171 浏览 评分:9.9
2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N =1e3;ll a…… 题解列表 2024年06月01日 0 点赞 0 评论 249 浏览 评分:0.0
1100采药(dp记忆化搜索) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstring>using namespace std;const int M…… 题解列表 2024年06月01日 0 点赞 0 评论 292 浏览 评分: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 评论 289 浏览 评分: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 评论 171 浏览 评分: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 评论 202 浏览 评分:0.0
贪心+DP的思路就可以解决问题。。。 摘要:解题思路:按照w+v的值从小到大排列后可以使后面的能够放在下面的可能最大。。。注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const in…… 题解列表 2024年05月31日 0 点赞 0 评论 229 浏览 评分:9.9
1099校门外的树(数组解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m;//马路长度 int n;//组数 cin >> m >>…… 题解列表 2024年05月31日 0 点赞 0 评论 207 浏览 评分:0.0
1098陶陶摘苹果(for循环遍历解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[15];//存苹果高度 int b;//存陶陶的高度 in…… 题解列表 2024年05月31日 0 点赞 0 评论 350 浏览 评分:0.0