迷宫问题 (Java代码) 摘要:解题思路:广度优先搜索注意事项:参考代码:import java.util.ArrayList; import java.util.Scanner; public class T1672 { …… 题解列表 2018年12月26日 1 点赞 1 评论 1221 浏览 评分:8.0
数字整除 (C++代码) 摘要:解题思路:注意事项:参考代码:/* 当数小于int最大值时,直接转为int型,取余判断 当数大于int最大值时,循环递归 “个位数字去掉,再从余下的数中减去个位数的5倍 ” */ #in…… 题解列表 2019年01月01日 0 点赞 0 评论 1338 浏览 评分:8.0
求平方和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ int k,n,sum; scanf("%d %d",&k,&n)…… 题解列表 2019年01月08日 0 点赞 0 评论 1319 浏览 评分:8.0
奖学金 (C语言代码)冒泡排序的改编应用 摘要:解题思路:对冒泡排序进行改编。改变”产生数据交换“的条件;memcpy用来交换结构体数据参考代码:#include <stdio.h> #include <string.h> typedef st…… 题解列表 2019年01月09日 0 点赞 0 评论 1010 浏览 评分:8.0
蓝桥杯算法训练VIP-黑白无常 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int n;int a[8][2];int b[8];i…… 题解列表 2019年01月11日 0 点赞 0 评论 1300 浏览 评分:8.0
递归快速解决(简单明了) 摘要:解题思路: 递归的用法主要是将每次函数自己调用自己的数据存放在系统栈中 最后一次被调用的数据也就是放在栈的最顶端 题解列表 2019年01月13日 1 点赞 0 评论 1194 浏览 评分:8.0
超级楼梯 (C语言代码)思路明确 摘要:解题思路: 一看到这题应该是递归的,我的思路是一步一步的走完的可能的没有算的,所以走一步,是一种方法,走两步也是一种情况,三步就相当于你走了两步,现在在多走一步,加上,你只走了一步,还差两步,的情况…… 题解列表 2019年01月16日 1 点赞 0 评论 1628 浏览 评分:8.0
蓝桥杯基础练习VIP-高精度加法 (C++代码)模拟手算 摘要:解题思路: 简单的模拟手算的过程。 不懂的看注释参考代码:#include<bits/stdc++.h> using namespace std; const int maxn=100…… 题解列表 2019年01月17日 0 点赞 0 评论 1281 浏览 评分:8.0
蓝桥杯2017年第八届真题-包子凑数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>#include <cstdio>#define MAXN 10010 //最多凑出的包子个…… 题解列表 2019年01月19日 4 点赞 0 评论 1134 浏览 评分:8.0
奖学金 (C语言代码) 摘要:解题思路:结构体知识,及排序方法注意事项:思路理清,哪一个比较重要参考代码:#include<stdio.h>struct student{ int num;//学号 int a,b,c;//三科成绩…… 题解列表 2019年01月20日 0 点赞 0 评论 1009 浏览 评分:8.0