蓝桥杯2013年第四届真题-核桃的数量 (C语言代码)理论上,要求最小公倍数,但是我要暴力破解 摘要:解题思路:很简单,看代码注意事项:无参考代码:#include<stdio.h>int main (){ int a,b,c; int i; scanf("%d%d%d",&a,&…… 题解列表 2019年04月26日 1 点赞 3 评论 1578 浏览 评分:9.0
震宇大神的杀毒软件 (C语言代码)新手题解,简单易懂,(冒泡) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[100],t; while((scanf("%d",&n))!=EOF) { for(int …… 题解列表 2019年04月25日 0 点赞 0 评论 821 浏览 评分: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 评论 836 浏览 评分: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 评论 665 浏览 评分: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 评论 698 浏览 评分: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 评论 1232 浏览 评分: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 评论 687 浏览 评分:0.0
Tom数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a[40]; int len,i,sum; …… 题解列表 2019年04月25日 0 点赞 0 评论 1835 浏览 评分: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 评论 711 浏览 评分:0.0
蓝桥杯历届试题-回文数字 (C语言代码)这题可比打印啥的容易多了,直接暴力破解!! 摘要:解题思路:暴力破解,啥都不说!!!注意事项:从左往右,第一位数字不能为0,比如011111或01111;参考代码:直接复制到编译器上更简单!#include<stdio.h>int main(){ i…… 题解列表 2019年04月25日 0 点赞 0 评论 854 浏览 评分:0.0