[编程入门]Sn的公式求和-题解(C语言代码) 摘要:解题思路:观察式子组成当n=5时,Sn=2*1*10^4+2*2*10^3+2*3*10^2+2*4*10^1+2*5*10^0=20000*1+2000*2+200*3+20*4+2*5当n=4时,…… 题解列表 2021年10月17日 0 点赞 0 评论 652 浏览 评分:9.9
题目 1030: [编程入门]二维数组的转置(c语言 易读版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],j,i; for(j=0;j<3;j++) { for(…… 题解列表 2021年10月17日 0 点赞 0 评论 430 浏览 评分:0.0
C语言训练-计算:t=1-1/(2*2)-1/(3*3)-...-1/(m*m) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ double c=1.0,m,n,a,d; scanf("%lf",&m); for(n=2;n…… 题解列表 2021年10月17日 0 点赞 0 评论 400 浏览 评分:9.0
绝对值排序 用C语言基础的方法 摘要:通过一开始的输入控制为有数据的范围内,再进行循环得到答案;参考代码:#include<stdio.h> #include<math.h> #include<stdlib.h> int main(…… 题解列表 2021年10月17日 0 点赞 0 评论 310 浏览 评分:7.0
C语言完全按照题目要求答案 摘要:#解题思路 **Malloc_SL和Free_SL函数分别对应malloc和free函数 space[p].cur对应p->next space[p].cur == 0 对应 p->next…… 题解列表 2021年10月17日 0 点赞 0 评论 717 浏览 评分:9.9
[编程入门]三个字符串的排序-题解(python代码) 摘要:参考代码:A=[input(),input(),input()] #将输入的字符串放入列表A A.sort() #将列表中的元素升序排序 for i in A:print(i) …… 题解列表 2021年10月16日 0 点赞 0 评论 867 浏览 评分:9.3
自定义函数处理素数(菜鸟易读版 c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,i=1,k; scanf("%d",&x); k=0; while(i<=x…… 题解列表 2021年10月16日 0 点赞 0 评论 272 浏览 评分:0.0
C语言训练-排序问题<1> 摘要:通过正常的调换将数调换并输出参考代码:#include<stdio.h> int main(){ int a[4],b,c,d,e,f; for(b=0;b<4;b++){ scanf…… 题解列表 2021年10月16日 0 点赞 0 评论 560 浏览 评分:9.9
蓝桥杯算法提高VIP-单词个数统计 摘要:通过循环进行分析空格;通过空格加一来算出单词个数参考代码:#include<stdio.h> #include<string.h> int main(){ int b,c,d=1; cha…… 题解列表 2021年10月16日 0 点赞 0 评论 274 浏览 评分:9.9
C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:通过for循环将每种情况写下参考代码:#include<stdio.h> int main(){ int m,n,k,j; for(m=1000;m<10000;m++){ n=m%1…… 题解列表 2021年10月16日 0 点赞 0 评论 411 浏览 评分:6.0