蓝桥杯算法提高VIP-打水问题 (C语言代码)---------------C语言——菜鸟级 摘要:解题思路: 注意事项: 参考代码: ```c #include int main(){ int n,r,i,j,j1,r1,sum=0; scanf("%d%d",&n,&r); …… 题解列表 2018年05月16日 5 点赞 1 评论 2229 浏览 评分:9.3
蓝桥杯算法提高VIP-3000米排名预测 (C语言代码)--------------C语言——菜鸟级 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int c[12][20];//存储 围观者的预测 long int n,m,k=0; int bj[12]={0};/…… 题解列表 2018年05月16日 4 点赞 1 评论 3251 浏览 评分:9.0
蓝桥杯2013年第四届真题-错误票据 (C语言代码)----------------C语言——菜鸟级 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> char b[10]; //截取数据 long int zh(int le)//字符…… 题解列表 2018年05月16日 4 点赞 2 评论 1825 浏览 评分:8.6
蓝桥杯历届试题-连号区间数 (C语言代码) 摘要:解题思路:暴力枚举注意事项:参考代码:#include<stdio.h> int main() { long int n,i,j,max,min,sum=0; scanf("%ld",&n…… 题解列表 2018年05月16日 1 点赞 0 评论 2299 浏览 评分:9.3
蓝桥杯历届试题-蚂蚁感冒 (C语言代码)----------------C语言——菜鸟级 摘要:解题思路:思路:看看图 有什莫想法 黑色代表 首只感冒蚂蚁 红色代表 会感冒蚂蚁 蓝色代表 不会感冒 蚂蚁向碰头 都转向 可看作 都不转向 看成擦肩而过 图 1 2 为一般情况 3 4 为特殊情况 仔…… 题解列表 2018年05月16日 2 点赞 0 评论 1828 浏览 评分:0.0
蓝桥杯历届试题-小朋友排队 (C语言代码)--------------C语言——菜鸟级 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include<string.h> #define N 1000003 long long sum[N],c[N],a[N]…… 题解列表 2018年05月16日 4 点赞 2 评论 4721 浏览 评分:9.9
蓝桥杯历届试题-最大子阵 (C语言代码)---------------C语言——菜鸟级 摘要:解题思路: 行的前缀和(对行区间求和) + 最大子段原理 (对列区间求和)注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { …… 题解列表 2018年05月16日 3 点赞 6 评论 1729 浏览 评分:9.0
蓝桥杯算法训练VIP-最大体积 (C语言代码)----------------C语言——菜鸟级 摘要:解题思路: gcd + 动态规划(完全背包)注意事项: 参考代码: #include<stdio.h> #include<string.h> int gcd(int a,int b) { …… 题解列表 2018年05月16日 5 点赞 0 评论 2827 浏览 评分:9.0
蓝桥杯算法提高VIP-数的划分 (C语言代码)----------------C语言——菜鸟级 摘要:解题思路:深搜加剪枝注意事项:参考代码:#include<stdio.h> long long int vis[101][101]={0};//用于 优化 记录 剪枝 long long i…… 题解列表 2018年05月16日 5 点赞 0 评论 2034 浏览 评分:0.0
蓝桥杯基础练习VIP-Sine之舞 (C语言代码) 摘要:解题思路:递归 模拟注意事项:参考代码: #include <stdio.h> #include<math.h> void f(int n) { int i; f…… 题解列表 2018年05月16日 3 点赞 0 评论 3291 浏览 评分:7.3