三进制小数 (C语言代码) 摘要:#include <stdio.h> int main() { int a,b,i,three[11]; double f; while (scanf("%d/%d",&a,&b)!=…… 题解列表 2017年11月08日 0 点赞 0 评论 1179 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:先求最大公约数,再利用最小公倍数等于两数的乘积除以最大公约数;注意事项:参考代码:#include<stdio.h>int main(){ int a,b,temp,r,mul; …… 题解列表 2017年11月08日 1 点赞 0 评论 899 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,g,h,f,i; scanf("%d",&a); if(a>=10000&&a<=9…… 题解列表 2017年11月08日 0 点赞 0 评论 939 浏览 评分:0.0
三角形 (C语言代码) 摘要:#include <stdio.h> //动态规划 #define MAX 101 int maxSum[MAX][MAX]; int m; int D[MAX][MAX]; in…… 题解列表 2017年11月08日 0 点赞 0 评论 956 浏览 评分:0.0
【计算两点间的距离】 (C语言代码) 摘要:#include <stdio.h>#include <math.h>int main(){ double x1,y1,x2,y2,dx,dy; while(scanf("%lf %lf %lf %l…… 题解列表 2017年11月08日 0 点赞 0 评论 1087 浏览 评分:0.0
P1002 (C语言代码) 摘要://奖学金.c #include <stdio.h> struct student { char name[21]; int lmark; int clmark; …… 题解列表 2017年11月24日 0 点赞 0 评论 1279 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:void main(){ int a,b; scanf("%d%d",&a,&b); int total=a+b; printf("%d",total);}注意事项:…… 题解列表 2017年11月09日 0 点赞 0 评论 964 浏览 评分:0.0
C语言训练-百钱百鸡问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int cock,hen,chicken,temp; for(cock=0;cock<20;cock++…… 题解列表 2017年11月09日 0 点赞 0 评论 854 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",((a>b…… 题解列表 2017年11月09日 0 点赞 0 评论 755 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.7 (C语言代码) 摘要:解题思路:要判断一个数是否是完数:第一步:找到这个数的所有因子第二步:所有因子的和是否等于这个数,等于就是完数,不等于就不是注意事项:参考代码:# include <stdio.h># include…… 题解列表 2017年11月09日 1 点赞 0 评论 1047 浏览 评分:0.0