震宇大神的杀毒软件 (C语言代码)新手题解,简单易懂,(冒泡) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[100],t; while((scanf("%d",&n))!=EOF) { for(int …… 题解列表 2019年04月25日 0 点赞 0 评论 676 浏览 评分:0.0
C语言考试练习题_保留字母 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n,m; char a[80]; gets(a); for(i=…… 题解列表 2019年04月25日 0 点赞 0 评论 669 浏览 评分:0.0
A+B for Input-Output Practice (I) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; while(scanf("%d %d",&n,&m)!=EOF) { printf("%d\…… 题解列表 2019年04月25日 0 点赞 0 评论 553 浏览 评分: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 评论 569 浏览 评分:0.0
C语言考试练习题_排列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int f(int a,int b,int c) { int q[4]; int i, j, k; q[0]=a; …… 题解列表 2019年04月25日 0 点赞 0 评论 942 浏览 评分:8.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact( int k){ int i; double a=1; for (i = 1; i <=k; i++) { a…… 题解列表 2019年04月25日 0 点赞 0 评论 573 浏览 评分:0.0
Tom数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a[40]; int len,i,sum; …… 题解列表 2019年04月25日 0 点赞 0 评论 1344 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:解题思路:逐个求最大公因数注意事项:参考代码:#include <stdio.h>#include <string.h>int glc(int a,int b){ if(b==0){ return …… 题解列表 2019年04月25日 0 点赞 0 评论 596 浏览 评分:0.0
蓝桥杯历届试题-回文数字 (C语言代码)这题可比打印啥的容易多了,直接暴力破解!! 摘要:解题思路:暴力破解,啥都不说!!!注意事项:从左往右,第一位数字不能为0,比如011111或01111;参考代码:直接复制到编译器上更简单!#include<stdio.h>int main(){ i…… 题解列表 2019年04月25日 0 点赞 0 评论 747 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图 (C语言代码)居然被困了两天。。还是我太菜了,直接暴力破解!!!! 摘要:解题思路:1,先找出层数于行数,列数的对应关系:行==列==5+层数*4,定好字符数组范围! 2,然后把数组全部赋值'.' &n 题解列表 2019年04月25日 0 点赞 0 评论 1210 浏览 评分:0.0