[编程入门]数字的处理与判断 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int x; int sum=0,a; int m=0,n=0,v=0,c=0; scanf("%d"…… 题解列表 2019年04月24日 0 点赞 0 评论 566 浏览 评分:0.0
小九九 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) printf…… 题解列表 2019年04月24日 0 点赞 0 评论 422 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int ispri (int x,int m,int n){ int k,i,sum=0; for(x=m;x<=n;x++…… 题解列表 2019年04月25日 0 点赞 0 评论 951 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:因为此题被要求在数组范围内求解,因此尝试一下(不喜勿喷^^)注意事项:参考代码:#include<stdio.h>int main(){ int i,a[991];/*题目给定的数是10——…… 题解列表 2019年04月25日 0 点赞 0 评论 420 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码)之一 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int m (){ int n=1;/*注意0虽为自然数,但不能为判断条件,因为0为假。同时0不是解*/ while(n+…… 题解列表 2019年04月25日 0 点赞 0 评论 745 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码)之二 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int m (){ int a=1;/*当用自己推理的简化条件时,用逆推的乘法求解,以防止用除法时丢失小数部分造成的影响*…… 题解列表 2019年04月25日 0 点赞 0 评论 645 浏览 评分:0.0
马拦过河卒 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int a[25][25];int main(){ int b1,b2,c1,c2,i,j; m…… 题解列表 2019年04月25日 0 点赞 0 评论 826 浏览 评分:0.0
平方和与立方和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,m,sum=0,sum1=0,s,k,a,b; while(scanf("%d %d",&n,&…… 题解列表 2019年04月25日 0 点赞 0 评论 739 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; //int a = 1; 错误 double a = 1, s =…… 题解列表 2019年04月25日 0 点赞 0 评论 616 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ int a[10], b[10], mix, t; int i, …… 题解列表 2019年04月25日 0 点赞 0 评论 583 浏览 评分:0.0