【回文数(二)】 (C语言代码) 解题思路:首先,看输入数据的取值范围,二进制最大长整型数,若需要8字节就是64位,只能作为字符串读取。观察每步操作,归纳为两个函数,一个将数值取反,另一个求两个N进制数相加的结果。注意事项:对于N进制,若N大于10、小于等于16,在两个N进制数相加时, 题解列表 2018年07月27日 0 点赞 0 评论 1669 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:小白一个,用笨办法做,结果正确,嘿嘿。注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); if(…… 题解列表 2018年07月27日 0 点赞 0 评论 1220 浏览 评分:0.0
可AC (C语言代码) 摘要:解题思路: 杨辉三角的模型 . 注意事项: 输入n,输出n+1行; 主要注意输出格式. 参考代码: #include<stdio.h> int main() { i…… 题解列表 2018年07月26日 1 点赞 0 评论 2728 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 解题思路:主要是验证printf()函数的使用,以及\n的换行使用。仔细分析题目可以知道一共分三行,也就是使用了三次printf()函数,同时,\n换行也使用了三次。注意事项:*一共有26个,仔细的数下,别给数错了就行。还有就是千别忘了头文件的书写。 题解列表 2018年07月26日 0 点赞 0 评论 1748 浏览 评分:0.0
优质题解 可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdlib.h> #include<stdio.h> typedef struct node { int real;…… 题解列表 2018年07月26日 2 点赞 2 评论 5101 浏览 评分:9.7
可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdlib.h> #include<stdio.h> typedef struct node { int real;…… 题解列表 2018年07月26日 1 点赞 0 评论 2608 浏览 评分:0.0
送分题素数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int ii(int i){ for(int j=2;j<i;j++…… 题解列表 2018年07月26日 0 点赞 0 评论 1828 浏览 评分:0.0
第几天 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main(){ int n,i,j,m=0; int a[]…… 题解列表 2018年07月26日 1 点赞 0 评论 1829 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; char str[80]; gets(str); for (i = 0; …… 题解列表 2018年07月26日 0 点赞 0 评论 1060 浏览 评分:0.0
不容易系列2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>long long int jiecheng(long long int n);long long int zhongshu(long…… 题解列表 2018年07月26日 0 点赞 0 评论 1133 浏览 评分:0.0