数组存储,循环相除(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int arr[3] = { 0 …… 题解列表 2023年12月22日 0 点赞 0 评论 197 浏览 评分:0.0
一个递归解决 摘要:解题思路:F_2是分子,F_1是分母注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std; double F_2(int n…… 题解列表 2023年12月22日 0 点赞 0 评论 178 浏览 评分:0.0
利用循环实现等比数列 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;//一球从M米高度自由下落,每次落地后返回原高度的一半,再落…… 题解列表 2023年12月22日 0 点赞 0 评论 153 浏览 评分:0.0
朴实无华的sort选择排序 摘要:解题思路:在bool那写入判断条件注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool cmp(int a,i…… 题解列表 2023年12月22日 1 点赞 0 评论 185 浏览 评分:0.0
编写题解 2879: 错误探测 摘要:解题思路:注意事项:参考代码:m=int(input())aList=[]flag1=1myList=[list(map(int,input().split())) for t in range(m)…… 题解列表 2023年12月22日 0 点赞 0 评论 309 浏览 评分:0.0
题解 2885: 矩阵转置 摘要: #include using namespace std; const int N=110; int a[N][N]; int main(){ …… 题解列表 2023年12月22日 0 点赞 0 评论 217 浏览 评分:0.0
2885: 矩阵转置 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m; cin>>n…… 题解列表 2023年12月22日 0 点赞 0 评论 218 浏览 评分:9.9
2885: 矩阵转置 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m; cin>>n…… 题解列表 2023年12月22日 0 点赞 0 评论 240 浏览 评分:0.0
2888: 图像模糊处理 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m; cin>>n…… 题解列表 2023年12月22日 0 点赞 0 评论 245 浏览 评分:0.0
2847: 找第一个只出现一次的字符 摘要:``` #include using namespace std; const int N=100010; char a[N]; int cnt[26]; int main() { c…… 题解列表 2023年12月22日 0 点赞 0 评论 236 浏览 评分:0.0