C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:其他题解思路都不错,这里给大家提供一个简洁的代码供参考注意事项:参考代码:#include<stdio.h> int i,c,a; int count(int c) { int…… 题解列表 2018年07月29日 0 点赞 0 评论 1656 浏览 评分:0.0
可 AC 摘要:解题思路:用字符数组储存两个加数,从个位开始,进行相加,结果存放另一个数组里,(顺便考虑是否进位) 注意事项: 在下的方法 要注意 每次输入数据时,要进行清空数组和进…… 题解列表 2018年07月29日 1 点赞 1 评论 499 浏览 评分:6.0
可AC 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> int main() { int N, num[10], i, max; while (scanf("…… 题解列表 2018年07月29日 1 点赞 0 评论 1333 浏览 评分:0.0
可AC 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<string.h> int main() { int num[5], i, max =…… 题解列表 2018年07月29日 1 点赞 0 评论 1451 浏览 评分:8.5
求大神来看看为什么通不过AC(通过一次)是差在哪里 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { string…… 题解列表 2018年07月29日 0 点赞 0 评论 1523 浏览 评分:0.0
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<string.h> int main() { int i; char str[10…… 题解列表 2018年07月29日 1 点赞 0 评论 1018 浏览 评分:0.0
C语言训练-邮票组合问题* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ int count=0; for(int i=0;i<=4;i++) for(int j=0…… 题解列表 2018年07月29日 2 点赞 0 评论 1638 浏览 评分:6.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:数列思维注意事项:参考代码:#include<stdio.h> int main() { int n,i; int a = 2,sum = 2; scanf_s("%d", …… 题解列表 2018年07月29日 0 点赞 0 评论 1173 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C++代码) 摘要:解题思路:题意很简单,是一个阶乘累加的算法设计。如果要实现这个算法,就要做到两个工作,先分别阶乘,再累加。我设计了一个子程序用于阶乘。注意事项:阶乘是一个让数值大小级数级倍增的算法,普通的int求和时…… 题解列表 2018年07月29日 1 点赞 0 评论 1745 浏览 评分:9.3
川哥的吩咐 (C语言代码) 摘要:解题思路: 本题为大数据储存,所以要用数组来储存数据注意事项: 1.需要考虑是否有进位,特别是最高位,所以需要把储存数字的和的数字多考虑一位 2.需要辅助数组将数字对齐,以便相加。…… 题解列表 2018年07月29日 6 点赞 0 评论 1538 浏览 评分:9.3