A+B for Input-Output Practice (IV) (C语言代码) 摘要:#include <stdio.h>int main(){ int t=1,sum=0,i; while(t) { scanf("%d",&t); int a[t]; for(i=0;i<t;i…… 题解列表 2017年07月25日 0 点赞 0 评论 1124 浏览 评分:0.0
亲和的解法 摘要:解题思路:注意事项:刚开始我做的代码是一组一组的吸收数据并得出结果,然后想到了利用数组的办法来收集结果并统一输出参考代码:#include <stdio.h>#include <stdlib.h>in…… 题解列表 2017年07月25日 1 点赞 0 评论 1641 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3],i,j,t; for(i=0;i<3;i++) scanf("%d"…… 题解列表 2017年07月25日 0 点赞 0 评论 994 浏览 评分:0.0
数字整除 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int chartoint(char s[]) { char *p,*q; char temp; …… 题解列表 2017年07月25日 0 点赞 0 评论 1343 浏览 评分:0.0
指针做法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>move(int *a,int *b,int m,int n);int main(){ int i,a[1024],b[1024]…… 题解列表 2017年07月25日 3 点赞 0 评论 1291 浏览 评分:0.0
The 3n + 1 problem (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int fun(int n){ int k=1; if(n==1) { return k; } while(n!=1) {…… 题解列表 2017年07月26日 0 点赞 0 评论 1084 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>using namespace std;int main(){ int a,b,c; s…… 题解列表 2017年07月26日 0 点赞 0 评论 1264 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>using namespace std;int main(){ int x; scanf…… 题解列表 2017年07月26日 0 点赞 0 评论 1006 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>using namespace std;int main(){ int x; scanf("…… 题解列表 2017年07月26日 0 点赞 0 评论 1161 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>using namespace std;int main(){ int x; sca…… 题解列表 2017年07月26日 0 点赞 0 评论 1097 浏览 评分:0.0