字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; int i, l; gets(a…… 题解列表 2019年05月13日 0 点赞 0 评论 556 浏览 评分:0.0
蓝桥杯算法提高VIP-计算质因子 (C语言代码) 摘要:题目描述输入一个整数,输出其所有质因子。 数据规模和约定 1< =n< =10000。 输入输入只有一行,包含一个整数n。 输出输出一行,包含若干个整数,为n的所有质因子,按照从小到大的顺序排列。 样…… 题解列表 2019年05月13日 0 点赞 0 评论 665 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码) 摘要:解题思路:注意事项:这个是最笨的方法了,无奈参考代码:#include<stdio.h>int main(){ int n=1; while(n++) { if(n%8==1) { if( …… 题解列表 2019年05月13日 0 点赞 0 评论 560 浏览 评分:0.0
蓝桥杯2014年第五届真题-Log大侠 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; const int maxn = 1E5+2; int _log[max…… 题解列表 2019年05月16日 0 点赞 0 评论 634 浏览 评分:0.0
杨辉三角 (C语言代码)水一下 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[35][35]; int i,j,m; while(scanf("%d",&m)!=EOF) { …… 题解列表 2019年05月13日 0 点赞 0 评论 1152 浏览 评分:0.0
[编程入门]矩阵对角线求和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,s[3][3],sum1=0,sum2=0; for(i=0;i<3;i++) { for(j…… 题解列表 2019年05月13日 0 点赞 0 评论 663 浏览 评分:0.0
[编程入门]数组插入处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s[10],i,t; for(i=0;i<9;i++) scanf("%d",&s[i]); scanf…… 题解列表 2019年05月13日 0 点赞 0 评论 772 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s[10],i,t=0,n=0; double t1; for(i=0;i<10;i++) { sca…… 题解列表 2019年05月13日 0 点赞 0 评论 582 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum=0,s=2; scanf("%d",&n); for(int i=0;i<n;i++) { …… 题解列表 2019年05月13日 0 点赞 0 评论 851 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,max,min,max1,a=0; scanf("%d %d",&m,&n); for(int …… 题解列表 2019年05月13日 0 点赞 0 评论 993 浏览 评分:0.0