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 评论 936 浏览 评分: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 评论 690 浏览 评分: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 评论 922 浏览 评分:0.0
与2无关的数 (C语言代码) 摘要:解题思路:这个题解可以算任意位数的数 是不是与2有关 从而求和。依次计算这个数各位数分别是多少,计算这个数的位数为y++,这个在判断是不是2之前++,如果是2.break。在break语句之后,c++…… 题解列表 2018年08月29日 0 点赞 0 评论 1701 浏览 评分: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 评论 1450 浏览 评分: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 评论 1457 浏览 评分: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 评论 617 浏览 评分: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 评论 858 浏览 评分:0.0
链表(帮你复习链表)解题 摘要:解题思路:利用链表进行解题,我在进行找最大的时候用的时单链表,因为循环链表效率更高一些,单是我还不熟悉链表,所以用的单链表,亲们可以是这采用循环链表注意事项:在用链表的时候我们总习惯free(p),在…… 题解列表 2019年01月05日 0 点赞 0 评论 1771 浏览 评分:0.0
蓝桥杯算法提高VIP-聪明的美食家 (C++代码)(最长不降序序列) 摘要:#include <iostream> #include <stdio.h> #include <map> #include <vector> using namespace std; in…… 题解列表 2018年08月29日 1 点赞 0 评论 1629 浏览 评分:0.0