C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:收藏的某位大佬的代码 方便以后查看 请大佬不要见怪哈注意事项:参考代码:#include<stdio.h>struct DAY{ int year; int month; …… 题解列表 2018年08月29日 0 点赞 0 评论 1865 浏览 评分:0.0
C语言训练-阿姆斯特朗数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,c; for(i=2;i<1000;i++) { a=i/100; b=(i/10)%1…… 题解列表 2018年08月29日 0 点赞 0 评论 1169 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,n; scanf("%d",&n); a=n/100; b=(n-a…… 题解列表 2018年08月29日 0 点赞 0 评论 979 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ int a; scanf(…… 题解列表 2018年08月29日 2 点赞 0 评论 1220 浏览 评分:0.0
与2无关的数 (C语言代码) 解题思路:这个题解可以算任意位数的数是不是与2有关从而求和。依次计算这个数各位数分别是多少,计算这个数的位数为y++,这个在判断是不是2之前++,如果是2.break。在break语句之后,c++。如果c==y这个数与2无关。注意事项:每次判断完一个数, 题解列表 2018年08月29日 0 点赞 0 评论 2126 浏览 评分:0.0
最小三个数 (C语言代码)交换排序法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i=0; int a[1000]; scanf("%d",&n); for(int q=0;q<n;…… 题解列表 2018年08月29日 0 点赞 0 评论 1837 浏览 评分:0.0
基础训练数列排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i=0; int a[1000]; scanf("%d",&n); for(int q=0;q<n;…… 题解列表 2018年08月29日 0 点赞 0 评论 1965 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ int m=1,n=2,t=0,N;…… 题解列表 2018年08月29日 0 点赞 0 评论 914 浏览 评分:0.0
玉龙学长买雪糕 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x=0; scanf("%d",&n); int sum=0; for(int i=0;i<n;i+…… 题解列表 2018年08月29日 0 点赞 0 评论 1214 浏览 评分:0.0
链表(帮你复习链表)解题 解题思路:利用链表进行解题,我在进行找最大的时候用的时单链表,因为循环链表效率更高一些,单是我还不熟悉链表,所以用的单链表,亲们可以是这采用循环链表注意事项:在用链表的时候我们总习惯free(p),在此处我找了许久发现这里如果释放的话释放的是最后一组录入数据参考代码:#include"stdio.h" 题解列表 2019年01月05日 0 点赞 0 评论 2612 浏览 评分:0.0