C二级辅导-等差数列 (C语言代码) 摘要:解题思路:数列思维注意事项:参考代码:#include<stdio.h> int main() { int n,i; int a = 2,sum = 2; scanf_s("%d", …… 题解列表 2018年07月29日 0 点赞 0 评论 853 浏览 评分: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 评论 1316 浏览 评分:6.0
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<string.h> int main() { int i; char str[10…… 题解列表 2018年07月29日 1 点赞 0 评论 767 浏览 评分:0.0
求大神来看看为什么通不过AC(通过一次)是差在哪里 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { string…… 题解列表 2018年07月29日 0 点赞 0 评论 1144 浏览 评分:0.0
可AC 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<string.h> int main() { int num[5], i, max =…… 题解列表 2018年07月29日 1 点赞 0 评论 1217 浏览 评分:8.5
可AC 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> int main() { int N, num[10], i, max; while (scanf("…… 题解列表 2018年07月29日 1 点赞 0 评论 879 浏览 评分:0.0
可 AC 摘要:解题思路:用字符数组储存两个加数,从个位开始,进行相加,结果存放另一个数组里,(顺便考虑是否进位) 注意事项: 在下的方法 要注意 每次输入数据时,要进行清空数组和进…… 题解列表 2018年07月29日 1 点赞 1 评论 372 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:其他题解思路都不错,这里给大家提供一个简洁的代码供参考注意事项:参考代码:#include<stdio.h> int i,c,a; int count(int c) { int…… 题解列表 2018年07月29日 0 点赞 0 评论 1142 浏览 评分:0.0
上车人数 (C语言代码) 摘要:解题思路:从第二站开始,就需要知道上车人数,由题目得知:第二站一定有人上下车,由于上一站上了a个人,那么第二站最多下车人数是a,由于第二站的下车人数与上车人数相等,那么第二站上车人数的范围应该在1到a…… 题解列表 2018年07月29日 2 点赞 0 评论 1084 浏览 评分:0.0
小明A+B (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int t; scanf("%d", &t); int a[t][2], b[t], i,…… 题解列表 2018年07月29日 0 点赞 0 评论 823 浏览 评分:0.0