DNA 最易理解解法 摘要:解题思路:观察发现,以a-1行为循环单位,循环b次之后还剩一行。我们把同时分为两部分,xunhuanb次和最后一行。我们可以先定义一个字符串型数组,每个元素都为空元素,然后用循环把对应的元素改为‘X’…… 题解列表 2021年10月21日 0 点赞 0 评论 391 浏览 评分:0.0
题解 1474: 蓝桥杯基础练习VIP-阶乘计算 摘要:解题思路:大数运算使用数组来存取数组,数组范围要足够大注意事项:参考代码:#include<stdio.h>int main(){ int n,f,count=1,i,j,k,t; int a[100…… 题解列表 2021年10月21日 0 点赞 0 评论 382 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long a=1,n,s=0,i;scanf("%ld",&n);for(i=1;i<=n;i++){ a*=i…… 题解列表 2021年10月21日 0 点赞 0 评论 670 浏览 评分:0.0
题解 1475: 蓝桥杯基础练习VIP-高精度加法 摘要:解题思路:这个循环很有意思注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[105]; char b[105]…… 题解列表 2021年10月21日 0 点赞 0 评论 399 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; int i,d,u; float result=0.0,o=0.0,p=0.0…… 题解列表 2021年10月21日 0 点赞 0 评论 407 浏览 评分:0.0
编写题解 1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,f; for(a=100;a<=999;a++) { b=a%10…… 题解列表 2021年10月21日 0 点赞 0 评论 736 浏览 评分:0.0
1148: C语言训练-计算1977!*-题解(python) 摘要:解题思路:注意事项:参考代码:a = 1977s = 1while a: s *= a a -= 1print(s)…… 题解列表 2021年10月22日 0 点赞 0 评论 348 浏览 评分:0.0
题解 1477: 字符串输入输出函数 摘要:解题思路:记录做法注意事项:参考代码:#include <stdio.h>/* run this program using the console pauser or add your own ge…… 题解列表 2021年10月22日 0 点赞 0 评论 393 浏览 评分:0.0
题解 1479: 蓝桥杯算法提高VIP-删除数组中的0元素 摘要:解题思路:循环即可注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; for(int i=0;i<n;i++…… 题解列表 2021年10月22日 0 点赞 0 评论 315 浏览 评分:0.0
1133: C语言训练-求1+2!+3!+...+N!的和-题解(python) 摘要:解题思路:注意事项:参考代码:n = int(input())s = 1m = 0for i in range(n,0,-1): for j in range(1,i+1): s …… 题解列表 2021年10月22日 0 点赞 0 评论 799 浏览 评分:0.0