C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%o",n);}…… 题解列表 2019年04月25日 0 点赞 0 评论 540 浏览 评分:0.0
[编程入门]筛选N以内的素数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,j; scanf("%d",&n); for(i=2;i<=n;i++) { for(j=2;…… 题解列表 2019年04月25日 0 点赞 0 评论 635 浏览 评分: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 评论 748 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; //int a = 1; 错误 double a = 1, s =…… 题解列表 2019年04月25日 0 点赞 0 评论 787 浏览 评分: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 评论 854 浏览 评分: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 评论 1030 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码)之二 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int m (){ int a=1;/*当用自己推理的简化条件时,用逆推的乘法求解,以防止用除法时丢失小数部分造成的影响*…… 题解列表 2019年04月25日 0 点赞 0 评论 866 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码)之一 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int m (){ int n=1;/*注意0虽为自然数,但不能为判断条件,因为0为假。同时0不是解*/ while(n+…… 题解列表 2019年04月25日 0 点赞 0 评论 901 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:因为此题被要求在数组范围内求解,因此尝试一下(不喜勿喷^^)注意事项:参考代码:#include<stdio.h>int main(){ int i,a[991];/*题目给定的数是10——…… 题解列表 2019年04月25日 0 点赞 0 评论 507 浏览 评分: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 评论 1227 浏览 评分:0.0