C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:#include<string.h> #include<stdio.h> int main(void) { char s1[100]; char s2[100]; char s3[1…… 题解列表 2017年07月03日 31 点赞 3 评论 2896 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题11.8 (C++代码) 摘要:#include<stdio.h> #include<stdlib.h> typedef struct students { int num ; int score; s…… 题解列表 2017年07月04日 8 点赞 0 评论 2229 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题1.6 (C++代码) 摘要:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){ …… 题解列表 2017年07月07日 3 点赞 5 评论 1473 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c); max=a; if(b>max…… 题解列表 2017年07月12日 1 点赞 0 评论 1150 浏览 评分:9.3
C二级辅导-阶乘数列 (C++代码) 摘要:解题思路:正常求阶乘,再求和即可,,当然直接输出结果有时可以的,嗯,就是这样。。。(下面有彩蛋hhhhh)注意事项:注意计算时的逻辑,当然还有格式,,直接输出的话——需要注意格式:“2.74e+32\…… 题解列表 2017年07月28日 5 点赞 7 评论 2349 浏览 评分:9.3
拆分位数 (C++代码)用char简单粗暴,嗯 摘要:解题思路:用char简单粗暴,嗯注意事项:参考代码:#include <stdio.h> int main() { char a, b, c; while (scanf("%…… 题解列表 2017年07月30日 4 点赞 4 评论 1495 浏览 评分:9.3
【计算两点间的距离】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,x2,y1,y2,d; while(scanf(…… 题解列表 2017年07月30日 1 点赞 1 评论 1712 浏览 评分:9.3
C语言训练-求矩阵的两对角线上的元素之和 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int n; scanf("%d",&n); int i[11][11]; for(in…… 题解列表 2017年08月01日 0 点赞 0 评论 1374 浏览 评分:9.3
Tom数 (C语言代码) 摘要:解题思路:1.小方给大家提供的方法是直接将用户输入的数字当字符串看的,希望大家能够理解。参考代码:#include<stdio.h> #include<string.h> int main() …… 题解列表 2017年08月03日 9 点赞 13 评论 2686 浏览 评分:9.3
化学品问题 (C语言代码) 摘要:解题思路:1.分情况来讨论n<m,n=m,n>m2.n<m,随便放吧2的n次方3.当n=m,有2的n次方减一种方法,只要不是全部都是药品就行4.当n>m的情况,这时候可以通过N-1的方案数和N-M-1…… 题解列表 2017年08月04日 10 点赞 1 评论 1802 浏览 评分:9.3