蓝桥杯2017年第八届真题-Excel地址 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std; int main(){ long data; st…… 题解列表 2018年12月09日 0 点赞 0 评论 698 浏览 评分:0.0
蓝桥杯2017年第八届真题-发现环 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int maxn = 1e5+5;int pre[maxn];int …… 题解列表 2018年12月09日 0 点赞 0 评论 899 浏览 评分:0.0
蓝桥杯2017年第八届真题-填字母游戏 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int T;string str ; int fun(string str){ i…… 题解列表 2018年12月09日 0 点赞 0 评论 1296 浏览 评分:5.0
C语言程序设计教程(第三版)课后习题1.5 (C++代码) 摘要:解题思路:千篇一律,哎!注意事项:参考代码:新颖一点的方法:#include<stdio.h> int main() { printf("************************…… 题解列表 2018年12月08日 13 点赞 2 评论 1186 浏览 评分:4.5
C语言程序设计教程(第三版)课后习题8.1 (C++代码) 摘要:解题思路: 之前有一道求最大公约数和最大公倍数的题,其实思路是一样的只不过这里要求用两个函数来实现,有一个很巧妙的地方就是要明白最大公倍数和最大公约数的关系注意事项: C++是不能嵌套定义函数…… 题解列表 2018年12月08日 0 点赞 0 评论 686 浏览 评分:0.0
蓝桥杯2017年第八届真题-合根植物 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#define maxn 1000010using namespace std;int pre[maxn];int n,m,k,cnt…… 题解列表 2018年12月07日 0 点赞 0 评论 1002 浏览 评分:0.0
蓝桥杯2017年第八届真题-小数第n位 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;long long i,a,b,n;int main(){ cin>>a>>b>>n; a%…… 题解列表 2018年12月07日 1 点赞 1 评论 420 浏览 评分:0.0
优质题解 母牛的故事 (两种方法) 摘要:解题思路:注意事项:参考代码: 题目分析根据题意,先列出前几年的牛头数,试着找找规律:在列出这个序列的过程中,应当能找出规律。以n=6为例,fn=9头牛可以分解为6+3,其中6是上一年(第5年)的牛,…… 题解列表 2018年12月07日 32 点赞 33 评论 14256 浏览 评分:9.1
汽水瓶 (C++代码)直接模拟 摘要:解题思路:模拟注意事项:注意边界处理参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { i…… 题解列表 2018年12月07日 0 点赞 0 评论 580 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C++代码) 摘要:解题思路:选择排序(Selection sort)是一种简单直观的排序算法。它的工作原理为:首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)…… 题解列表 2018年12月07日 0 点赞 0 评论 653 浏览 评分:9.9