2513: 信息学奥赛一本通T1615-序列的第 k 个数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const long long M=200907;long long quickpow(lo…… 题解列表 2022年06月23日 0 点赞 0 评论 590 浏览 评分:0.0
贝叶斯乱搞 摘要:解题思路:妥妥的贝叶斯公式套一套即可得出答案,不过要先算出在所有故障发生的情况下对应故障原因所发生的概率是多少,可以通过给出的发生了故障的情况去计算,若某个故障现象发生了,那么直接用输入的概率即可,若…… 题解列表 2022年06月23日 0 点赞 0 评论 876 浏览 评分:0.0
1206: 字符串问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[50]; gets(str); int len=strlen(str); fo…… 题解列表 2022年06月23日 0 点赞 0 评论 344 浏览 评分:0.0
题解 1144:自守数问题(C代码) 摘要:解题思路:注意事项:参考代码:#include<math.h>int Number(int i,int count);int main(){ long long sum; for (int…… 题解列表 2022年06月23日 0 点赞 0 评论 521 浏览 评分:9.9
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[50]; gets(str); printf("%s",str); int l…… 题解列表 2022年06月23日 0 点赞 0 评论 318 浏览 评分:0.0
1094: 字符串的输入输出处理 摘要:解题思路:注意事项:参考代码:#include#includeint main() { char str[1000],ch; int n,i; scanf("%d\n"…… 题解列表 2022年06月23日 0 点赞 0 评论 279 浏览 评分:0.0
[编程入门]Sn的公式求和,C语言递归解法 摘要:解题思路:主要是如何方便的生成222222,这样的数字,可以通过递归的方式,观察得到f(n)=f(n-1)*10+2,所以用递归写还是比较方便的。参考代码:#include<stdio.h> int…… 题解列表 2022年06月22日 0 点赞 0 评论 272 浏览 评分:0.0
C语言-简洁易理解 摘要:解题思路:题目要求输入前n行原样输出,之后的行是不带空格的字符串,字符串间以空格或换行隔开,要求每个字符串单行输出,且每行输出间要输出空行注意事项:1.前n行与之后的行输入方式不同,前n行可用gets…… 题解列表 2022年06月22日 0 点赞 0 评论 342 浏览 评分:0.0
题解 1487: 蓝桥杯算法提高VIP-不同单词个数统计 set 摘要:#include<iostream> #include<algorithm> #include<string> #include<set> using namespace std; int …… 题解列表 2022年06月22日 0 点赞 1 评论 243 浏览 评分:0.0
1072: 汽水瓶 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n,f,sum; while(1){ sum=0; scanf("%d",&…… 题解列表 2022年06月22日 0 点赞 0 评论 546 浏览 评分:0.0