水仙花数判断C代码记录 摘要:解题思路:注意事项:参考代码:本人代码#include<stdio.h> int main() { int h,d,u; for(h=1;h<10;h++) …… 题解列表 2023年10月28日 0 点赞 0 评论 119 浏览 评分:0.0
在原数组中搜索能互质的数---在剩下的数中搜索能互质的数 摘要: n=int(input()) b=list(map(int,input().split())) def gcd(a,b): if a%b == 0: return …… 题解列表 2023年10月28日 0 点赞 0 评论 121 浏览 评分:0.0
[编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,&c2,&c…… 题解列表 2023年10月28日 0 点赞 0 评论 156 浏览 评分:0.0
第十三次作业2题 摘要:解题思路:利用桶排序思想计数注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[100000];int main(){ …… 题解列表 2023年10月28日 0 点赞 0 评论 132 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[100000];int main(){ cin>>s; …… 题解列表 2023年10月28日 0 点赞 0 评论 136 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:要输入字符0到字符9参考代码:#include <bits/stdc++.h>using namespace std;char s[100000];int main(){ i…… 题解列表 2023年10月28日 0 点赞 0 评论 143 浏览 评分:0.0
阶乘求和记录,第一次用int没过,数据太大,改用long long类型 摘要:解题思路:遍历求阶乘注意事项:参考代码:#include<stdio.h> int main() { int m,i,j; long long sum=0; scan…… 题解列表 2023年10月28日 0 点赞 0 评论 116 浏览 评分:0.0
2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[100000],a,b;int main(){ cin>>s;…… 题解列表 2023年10月28日 0 点赞 0 评论 127 浏览 评分:0.0
2329: 信息学奥赛一本通T1177-奇度单增序列 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年10月28日 0 点赞 0 评论 285 浏览 评分:0.0
2330: 信息学奥赛一本通T1178-成绩排序 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; struct dev { …… 题解列表 2023年10月28日 0 点赞 0 评论 370 浏览 评分:0.0