编写题解 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 评论 621 浏览 评分: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 评论 965 浏览 评分:0.0
1148: C语言训练-计算1977!*-题解(python) 解题思路:注意事项:参考代码:a=1977s=1whilea:s*=aa-=1print(s) 题解列表 2021年10月22日 0 点赞 0 评论 548 浏览 评分:0.0
题解 1477: 字符串输入输出函数 摘要:解题思路:记录做法注意事项:参考代码:#include <stdio.h>/* run this program using the console pauser or add your own ge…… 题解列表 2021年10月22日 0 点赞 0 评论 579 浏览 评分: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 评论 484 浏览 评分: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 评论 987 浏览 评分:0.0
1064: 二级C语言-阶乘数列-题解(python) 摘要:解题思路:注意事项:参考代码:n = 30s = 1m = 0for i in range(n,0,-1): for j in range(1,i+1): s *= j m …… 题解列表 2021年10月22日 0 点赞 0 评论 567 浏览 评分:0.0
1129: C语言训练-排序问题<2>-题解(python) 摘要:解题思路:注意事项:参考代码:l = list(map(int,input().split()))l.sort()for i in l[::-1]: print(i,end=' '…… 题解列表 2021年10月22日 0 点赞 0 评论 679 浏览 评分:0.0
回文串思路和参考代码(C语言) 解题思路:首先注意到字符串长度小于255,所以我们定义一个255个存储单元的数组即可,然后用scanf读入字符串,strlen函数得到字符个数,最后for循环判断。注意事项:参考代码:#include#includeintmain(){charsen[255];i 题解列表 2021年10月23日 0 点赞 0 评论 673 浏览 评分:0.0
DNA简单题解 摘要:#include<iostream>using namespace std;struct DNA{ int a;//行数 int b;//重复度};int main(){ int n…… 题解列表 2021年10月23日 0 点赞 0 评论 547 浏览 评分:0.0