数列排序 (C语言代码) 摘要:#include <stdio.h>int main(){ int i,j,k,N; int a[9],b[9]; while(scanf("%d",&N)!=EOF) …… 题解列表 2018年02月26日 0 点赞 0 评论 706 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num,m; //m是几位数 int a,b,c,d,e; //分别为个十百千万 scanf("…… 题解列表 2018年02月26日 0 点赞 0 评论 1023 浏览 评分:0.0
蓝桥杯算法提高VIP-多项式输出 (C语言代码) 摘要:解题思路:粗暴的循环+条件注意事项:注意用好if(a[i])参考代码:#include<stdio.h>#include<math.h>int main(){ int n,i,k; int a[100…… 题解列表 2018年02月26日 0 点赞 0 评论 898 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:利用发现的数学公式来解此题比较方便注意事项:参考代码:#include<stdio.h>#include<string.h> int main(){ int i, c, len; char …… 题解列表 2018年02月26日 0 点赞 0 评论 743 浏览 评分:0.0
蛇行矩阵 (C语言描述,变相输出矩阵) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,s,m,n; while(scanf("%d", &n)!=EOF){ …… 题解列表 2018年02月26日 1 点赞 0 评论 895 浏览 评分:0.0
C语言训练-求1+2!+3!+...+N!的和 (C++代码) 摘要:解题思路:注意事项:vc 6.0 long long 会报错参考代码:#include<iostream>using namespace std;int main(){ long long n,i,j…… 题解列表 2018年02月26日 0 点赞 0 评论 1135 浏览 评分:0.0
蓝桥杯基础练习VIP-龟兔赛跑预测 (C++代码) 摘要:坑是真的多,比如: 1.兔子休息,乌龟继续跑时乌龟在s秒内已经到达终点,时间要重新算; 2.兔子已经到达终点,即使超过乌龟t米,比赛也应该结束了,乌龟不应该继续跑; 3.当兔子休息一…… 题解列表 2018年02月27日 0 点赞 0 评论 1121 浏览 评分:0.0
蓝桥杯算法提高VIP-删除数组中的0元素 (C++代码) 摘要:参考代码:#include <iostream> #include <cstring> using namespace std; int a[10000]; int b[10000]; in…… 题解列表 2018年02月27日 0 点赞 0 评论 731 浏览 评分:0.0
蓝桥杯算法提高VIP-数组替换 (C++代码) 摘要:参考代码:#include <iostream> using namespace std; int a[10000]; int b[10000]; void Add(int a[],int m…… 题解列表 2018年02月27日 0 点赞 0 评论 1959 浏览 评分:0.0
川哥的吩咐 (C语言代码) 摘要:解题思路: 输入的两个大数字用字符串读入,在运算的过程中转换为int类型(通过accii码规律)。注意事项: 1、数组下标与数字高地位的关系,a[0]、b[0]表示的是a和b的最高位,而c…… 题解列表 2018年02月27日 0 点赞 0 评论 821 浏览 评分:0.0