简单的a+b (C语言代码) 摘要:# include <stdio.h>int main (void){ int a, b; while (scanf("%d%d", &a, &b)) { printf…… 题解列表 2018年07月29日 0 点赞 0 评论 915 浏览 评分:0.0
川哥的吩咐 (C语言代码) 摘要:解题思路: 本题为大数据储存,所以要用数组来储存数据注意事项: 1.需要考虑是否有进位,特别是最高位,所以需要把储存数字的和的数字多考虑一位 2.需要辅助数组将数字对齐,以便相加。…… 题解列表 2018年07月29日 6 点赞 0 评论 1786 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题6.4 (C++代码) 解题思路:题意很简单,是一个阶乘累加的算法设计。如果要实现这个算法,就要做到两个工作,先分别阶乘,再累加。我设计了一个子程序用于阶乘。注意事项:阶乘是一个让数值大小级数级倍增的算法,普通的int求和时会在n值极小时就溢出。所以关键在于存放最后结果和中间阶乘时候的两个值的声明longlong.参考代码: 题解列表 2018年07月29日 1 点赞 0 评论 2002 浏览 评分:9.3
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:数列思维注意事项:参考代码:#include<stdio.h> int main() { int n,i; int a = 2,sum = 2; scanf_s("%d", …… 题解列表 2018年07月29日 0 点赞 0 评论 1468 浏览 评分: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 评论 1917 浏览 评分:6.0
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<string.h> int main() { int i; char str[10…… 题解列表 2018年07月29日 1 点赞 0 评论 1229 浏览 评分:0.0
求大神来看看为什么通不过AC(通过一次)是差在哪里 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { string…… 题解列表 2018年07月29日 0 点赞 0 评论 1998 浏览 评分:0.0
可AC 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<string.h> int main() { int num[5], i, max =…… 题解列表 2018年07月29日 1 点赞 0 评论 1906 浏览 评分:8.5
可AC 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> int main() { int N, num[10], i, max; while (scanf("…… 题解列表 2018年07月29日 1 点赞 0 评论 1635 浏览 评分:0.0
可 AC 摘要:解题思路:用字符数组储存两个加数,从个位开始,进行相加,结果存放另一个数组里,(顺便考虑是否进位) 注意事项: 在下的方法 要注意 每次输入数据时,要进行清空数组和进…… 题解列表 2018年07月29日 1 点赞 1 评论 639 浏览 评分:6.0