三位数反转 (C语言代码) 摘要:解题思路: 输入三位数,分离出它的百位、十位和个位,反转后输出注意事项: 1.有多组输入数据 &nbs 题解列表 2018年09月28日 0 点赞 0 评论 1205 浏览 评分:0.0
蓝桥杯算法提高- c++_ch03_02 (C语言代码) 摘要:解题思路: 杨辉三角,每行第一个和最后一个元素为1 第i行第j列元素的动态转移方程: a[i][j]=a[i-1][j]+a[i-1][j-1]注意事项: …… 题解列表 2018年09月28日 0 点赞 0 评论 1312 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#define IDLEN 10#define NAMELEN 10typedef struct s…… 题解列表 2018年09月28日 0 点赞 0 评论 1023 浏览 评分:0.0
蓝桥杯算法训练VIP-数组查找及替换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; int i,j,temp; int count=0,arr[1…… 题解列表 2018年09月28日 0 点赞 0 评论 820 浏览 评分:0.0
A+B for Input-Output Practice (II) (C++代码) 摘要:#include<iostream> using namespace std; int main() { int a,b,n; cin>>n; for(int i=…… 题解列表 2018年09月28日 0 点赞 0 评论 1110 浏览 评分:0.0
Tom数 (C语言代码)简洁的代码 15行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char input[10]; while(scanf("%s"…… 题解列表 2018年09月28日 1 点赞 1 评论 556 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:既然要输出小数,就设为浮点型吧,输入输出为%lf,参考代码:#include<stdio.h>int main(){ double a,y,x; scanf("%lf",…… 题解列表 2018年09月28日 4 点赞 1 评论 614 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码) 摘要:解题思路:个人笔记: 这种方法比较慢,,,只用来做个人笔记->手动算乘法,每个都乘一遍,长度有可能很长,所以数组定义了很大很大。关键在于c[i+j]=c[i+j]+a[j]*b[i];注意…… 题解列表 2018年09月28日 1 点赞 0 评论 2002 浏览 评分:0.0
蓝桥杯基础练习VIP-高精度加法 (C++代码) 摘要:解题思路: 个人笔记:a、b 两个字符串数组保存整数,c、e 两个整型数组保存每一位数字,d 数组用来交换, y数组用来计算。。。注意事项:参考代码:#include<iostream> …… 题解列表 2018年09月28日 0 点赞 0 评论 1278 浏览 评分:0.0
统计字符数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { int n; int i,j,arr[26]…… 题解列表 2018年09月29日 1 点赞 0 评论 1250 浏览 评分:0.0