C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,i; char c[50]={0}; scanf("%d",&n); g…… 题解列表 2017年08月26日 0 点赞 0 评论 825 浏览 评分:6.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int a,b; int c;scanf("%d %d",&a,&b);c=a+b;printf("sum=%d",c)…… 题解列表 2017年08月29日 0 点赞 1 评论 759 浏览 评分:6.0
九宫重排 (C++代码) 摘要://使用哈希技术,提高检索效率,哈哈哈 #include<cstdio> #include<cstring> using namespace std; typedef int State[…… 题解列表 2017年08月30日 0 点赞 0 评论 1831 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:注意事项:注意输出数据的大小,有可能会超过int 的限制参考代码:#include <stdio.h>//using namespace std;//#define LINT64 (long…… 题解列表 2017年08月30日 0 点赞 0 评论 977 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题10.1 (Java代码) 摘要:import java.util.Arrays; import java.util.Scanner; //抄别人的 public class Main{ public static v…… 题解列表 2017年08月31日 1 点赞 0 评论 1879 浏览 评分:6.0
【密码】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int M,a,b,c,d,i,j; char str[60],…… 题解列表 2017年09月02日 1 点赞 2 评论 519 浏览 评分:6.0
剪刀石头布 (C语言代码)不知道怎么直接在scanf中用枚举变量 摘要:解题思路:不怎么了解枚举,不知道怎么直接在scanf中用枚举变量,有大神知道的请赐教注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){…… 题解列表 2017年09月11日 0 点赞 0 评论 2214 浏览 评分:6.0
打水问题 (C语言代码) 摘要:解题思路:贪心策略注意事项:参考代码:#include <stdio.h>int main(){ int a[100],b[10][100]={{0,0}}; int n,m,sum=0,t,i,j…… 题解列表 2017年09月16日 0 点赞 1 评论 1553 浏览 评分:6.0
输出正反三角形 (C语言代码)格式错误!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,n,m; scanf("%d%d",&n,&m); for(i=n-1,j=0;i>=0,…… 题解列表 2017年09月18日 0 点赞 2 评论 1333 浏览 评分:6.0
大神老白 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int m[50]; int a,i,sum; while(scanf("%…… 题解列表 2017年09月20日 0 点赞 0 评论 1034 浏览 评分:6.0