C语言训练-8除不尽的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>int main(){int a…… 题解列表 2018年04月15日 0 点赞 0 评论 799 浏览 评分:0.0
蛇行矩阵 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,t=1; scanf("%d",&n); int a[n][n]; for(i=0;i<n;…… 题解列表 2018年04月15日 0 点赞 0 评论 711 浏览 评分:0.0
C语言训练-亲密数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>int YZ(int x){ i…… 题解列表 2018年04月15日 0 点赞 0 评论 957 浏览 评分:0.0
C语言训练-自守数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { long mul,number,k,ll,kk; printf("…… 题解列表 2018年04月15日 2 点赞 1 评论 1204 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:字符在计算机里是通过一个叫ASCLL表来储存的,所以在这个字符变量后面加几就是表示这个字符后面第几位,所以在输出的时候完全可以在c1后面加4来输出注意事项:变量要定义为char字符变量参考代…… 题解列表 2018年04月15日 0 点赞 0 评论 932 浏览 评分:0.0
查找最小的k个元素 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int M=10000+5; …… 题解列表 2018年04月15日 0 点赞 0 评论 1191 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1000+5; int a[M]={0}; int b[M…… 题解列表 2018年04月15日 0 点赞 0 评论 890 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; unsigned long long…… 题解列表 2018年04月15日 1 点赞 0 评论 1005 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){char str[100];gets(st…… 题解列表 2018年04月15日 0 点赞 0 评论 1032 浏览 评分:0.0
校门外的树 (C语言代码) 摘要:解题思路:注意事项:此题最为重要的是不能直接两个端点相减,因为有重复的地方,所以用一个数组记录树的状态,在0,拔去1,即可参考代码: #include<stdio.h> int m…… 题解列表 2018年04月15日 0 点赞 0 评论 673 浏览 评分:0.0