编写题解 1014: [编程入门]阶乘求和(C语言) 摘要:解题思路:后面的阶乘等于前一个阶乘的*n注意事项:注意溢出,不仅和会溢出,后面大的阶乘数也会溢出,所以我将每个阶乘数以及和定义为long long int 参考代码:#include <stdio.h…… 题解列表 2021年10月25日 0 点赞 0 评论 790 浏览 评分:9.9
编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:1.定义两个字符数组,第一个用来提取元音字母,第二个用来接收,储存元音字母,并进行排序 2.主函数用来字符串的输入,算法调用和结果字符串输出注意事项:1.首先要遍历…… 题解列表 2021年10月26日 0 点赞 0 评论 1147 浏览 评分:9.9
编写题解 1072: 汽水瓶 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,m,x,y,z; while(scanf("%d",&n),n){ y=0; …… 题解列表 2021年10月26日 0 点赞 0 评论 525 浏览 评分:9.9
1670 拆分位数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int a; scanf("%d",&a); printf("%d %d %d",a%10,(a/10…… 题解列表 2021年10月26日 0 点赞 0 评论 1303 浏览 评分:9.9
【C语言】编写题解 1402: 简单的字符串 摘要:参考大神题解,理解后写了注释。参考代码:#include <stdio.h> #include <string.h> int main() { int i, j, k, n, len, cou…… 题解列表 2021年10月26日 0 点赞 0 评论 767 浏览 评分:9.9
题解 1063: 二级C语言-统计字符 摘要:参考代码:#include<stdio.h>void main(){ char str; int i; int zimu,kongge,shuzi,qita; i=0; …… 题解列表 2021年10月27日 0 点赞 0 评论 1405 浏览 评分:9.9
题解 1017: [编程入门]完数的判断 摘要:参考代码:#include<stdio.h>#define N 500void factor(int n);//找出所有因子并按照要求输出void main(){ int i,n;//n为查找范…… 题解列表 2021年10月27日 0 点赞 1 评论 551 浏览 评分:9.9
这道题测试点有问题,草 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <stdio.h>using namespace std;int main() { int a, b; while…… 题解列表 2021年10月27日 0 点赞 1 评论 932 浏览 评分:9.9
蓝桥杯基础练习VIP-回形取数 ```m,n=map(int,input().split())list=[list(map(int,input().split()))foriinrange(m)]list_flag=[[True]*(n+2)]+[[True]+[False]*n+[True]for_inrange(m)]+[[Tr 题解列表 2021年10月27日 0 点赞 0 评论 821 浏览 评分:9.9
呐,来扫雷吧 摘要:解题思路:创建一个长和宽均为原本长度+2的bool数组,可避免繁杂的边界讨论注意事项:参考代码:#include <iostream>#include <string.h>using namespac…… 题解列表 2021年10月27日 0 点赞 0 评论 706 浏览 评分:9.9