蓝桥杯算法训练VIP-黑白无常 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int n;int a[8][2];int b[8];i…… 题解列表 2019年01月11日 0 点赞 0 评论 1155 浏览 评分:8.0
递归快速解决(简单明了) 摘要:解题思路: 递归的用法主要是将每次函数自己调用自己的数据存放在系统栈中 最后一次被调用的数据也就是放在栈的最顶端 题解列表 2019年01月13日 1 点赞 0 评论 977 浏览 评分:8.0
超级楼梯 (C语言代码)思路明确 摘要:解题思路: 一看到这题应该是递归的,我的思路是一步一步的走完的可能的没有算的,所以走一步,是一种方法,走两步也是一种情况,三步就相当于你走了两步,现在在多走一步,加上,你只走了一步,还差两步,的情况…… 题解列表 2019年01月16日 1 点赞 0 评论 1507 浏览 评分:8.0
蓝桥杯基础练习VIP-高精度加法 (C++代码)模拟手算 摘要:解题思路: 简单的模拟手算的过程。 不懂的看注释参考代码:#include<bits/stdc++.h> using namespace std; const int maxn=100…… 题解列表 2019年01月17日 0 点赞 0 评论 959 浏览 评分:8.0
蓝桥杯2017年第八届真题-包子凑数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>#include <cstdio>#define MAXN 10010 //最多凑出的包子个…… 题解列表 2019年01月19日 4 点赞 0 评论 1036 浏览 评分:8.0
奖学金 (C语言代码) 摘要:解题思路:结构体知识,及排序方法注意事项:思路理清,哪一个比较重要参考代码:#include<stdio.h>struct student{ int num;//学号 int a,b,c;//三科成绩…… 题解列表 2019年01月20日 0 点赞 0 评论 816 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int main(){ int a[10…… 题解列表 2019年01月21日 1 点赞 0 评论 895 浏览 评分:8.0
蓝桥杯算法提高VIP-扫雷 (C++代码)---------C语言-菜鸟级 摘要:解题思路: 1. 通过雷区 给周围 8个相邻区域给贡献值的方式 ,同时给雷区打上标记 。 2.每个区都是 由 周围相邻的几个区 给的贡献值的叠加。 边输入边更新的方式 就得到答案 访问原文 …… 题解列表 2019年01月27日 19 点赞 0 评论 1303 浏览 评分:8.0
蓝桥杯算法提高VIP-排队打水问题 (C++代码)贪心 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int n, m;const int maxn = 50…… 题解列表 2019年01月25日 1 点赞 0 评论 1112 浏览 评分:8.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:scanf("%[^\n]", str); 除回车外全部读入参考代码:#include <stdio.h> #include <string.h> int m…… 题解列表 2019年01月31日 1 点赞 4 评论 904 浏览 评分:8.0