2847: 找第一个只出现一次的字符 摘要:``` #include using namespace std; const int N=100010; char a[N]; int cnt[26]; int main() { c…… 题解列表 2023年12月22日 0 点赞 0 评论 228 浏览 评分: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 评论 233 浏览 评分: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 评论 230 浏览 评分: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 评论 208 浏览 评分:9.9
题解 2885: 矩阵转置 摘要: #include using namespace std; const int N=110; int a[N][N]; int main(){ …… 题解列表 2023年12月22日 0 点赞 0 评论 204 浏览 评分:0.0
朴实无华的sort选择排序 摘要:解题思路:在bool那写入判断条件注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool cmp(int a,i…… 题解列表 2023年12月22日 1 点赞 0 评论 177 浏览 评分:0.0
利用循环实现等比数列 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;//一球从M米高度自由下落,每次落地后返回原高度的一半,再落…… 题解列表 2023年12月22日 0 点赞 0 评论 144 浏览 评分:0.0
一个递归解决 摘要:解题思路:F_2是分子,F_1是分母注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std; double F_2(int n…… 题解列表 2023年12月22日 0 点赞 0 评论 169 浏览 评分:0.0
数组存储,循环相除(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int arr[3] = { 0 …… 题解列表 2023年12月22日 0 点赞 0 评论 187 浏览 评分:0.0
利用循环解决(C++) 摘要:解题思路:注意事项:注意sum和Sn需要long long 类型,不然会超界参考代码:#include<iostream>using namespace std;int main(){ int …… 题解列表 2023年12月22日 0 点赞 0 评论 165 浏览 评分:0.0