蓝桥杯历届试题-回文数字 (C语言代码)这题可比打印啥的容易多了,直接暴力破解!! 摘要:解题思路:暴力破解,啥都不说!!!注意事项:从左往右,第一位数字不能为0,比如011111或01111;参考代码:直接复制到编译器上更简单!#include<stdio.h>int main(){ i…… 题解列表 2019年04月25日 0 点赞 0 评论 741 浏览 评分: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 评论 591 浏览 评分:0.0
Tom数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char a[40]; int len,i,sum; …… 题解列表 2019年04月25日 0 点赞 0 评论 1317 浏览 评分:0.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 评论 563 浏览 评分: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 评论 559 浏览 评分: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 评论 544 浏览 评分: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 评论 662 浏览 评分:0.0
震宇大神的杀毒软件 (C语言代码)新手题解,简单易懂,(冒泡) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[100],t; while((scanf("%d",&n))!=EOF) { for(int …… 题解列表 2019年04月25日 0 点赞 0 评论 670 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:j解题思路:for循环注意事项:参考代码:#include<stdio.h>#define N 10int main(){ int a[N]; int i,j,sum=0,k; float s; fo…… 题解列表 2019年04月26日 0 点赞 0 评论 592 浏览 评分:0.0
C语言训练-百钱百鸡问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,i; for(x=0;x<=19;x++) { for(y=0;y<=33;y++) { …… 题解列表 2019年04月26日 0 点赞 0 评论 439 浏览 评分:0.0