C语言训练-列出最简真分数序列* (C语言代码) 摘要:解题思路:分子与分母的最大公约数为1注意事项:参考代码:#include<stdio.h>int gcd(int a,int b);int main(){ int i; for(i=1;i…… 题解列表 2017年08月28日 0 点赞 0 评论 730 浏览 评分:0.0
C语言考试练习题_排列 (C语言代码) 摘要:解题思路:注意事项:就提论题参考代码:#include<stdio.h>int main(){ int num[4]={0},i,j,k; for(i=0;i<4;i++) …… 题解列表 2017年08月28日 13 点赞 0 评论 1669 浏览 评分:2.0
奖学金 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int n; scanf("%d",&n); int i[305],j[305],k[305]…… 题解列表 2017年08月28日 10 点赞 0 评论 2384 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,t; scanf("%f%f…… 题解列表 2017年08月27日 0 点赞 0 评论 1042 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b;//定义两个变量a,b while(~scanf("%d%d", &a, &b))p…… 题解列表 2017年08月27日 2 点赞 0 评论 1005 浏览 评分:0.0
Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; char c; while(scanf("%d",&n)!=EOF) { …… 题解列表 2017年08月27日 0 点赞 0 评论 1624 浏览 评分:9.9
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n);int main(){ double sum=0; int i,n; scanf…… 题解列表 2017年08月27日 0 点赞 0 评论 797 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; float score; a=b=c=0; while(scanf…… 题解列表 2017年08月27日 0 点赞 0 评论 1199 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,a,b,i,j; int num[10][10]={0}…… 题解列表 2017年08月27日 0 点赞 0 评论 728 浏览 评分:0.0