蓝桥杯算法提高VIP-五次方数 (C语言代码)本题:如何判断边界! 摘要:本来我的题目是从1开始的数据,这样比现在这个答案要多出一个1数据作为答案(1的5次方=1)但是发现这样错了范围的推理过程如下:上边界:以单位数最大值9为边界,9^5=59049 是五位数字,那么5位数…… 题解列表 2019年04月29日 1 点赞 7 评论 2593 浏览 评分:9.9
【计算球体积】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>int main(){ using namespace std; double r; while(c…… 题解列表 2019年04月29日 0 点赞 0 评论 1874 浏览 评分:9.9
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { …… 题解列表 2019年04月28日 0 点赞 0 评论 1288 浏览 评分:0.0
【明明的随机数】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { …… 题解列表 2019年04月28日 0 点赞 0 评论 858 浏览 评分:0.0
【出圈】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a[100]; int i,j,n,m,cnt,js; while(scanf("%…… 题解列表 2019年04月28日 0 点赞 0 评论 1152 浏览 评分:0.0
【密码】 (C++代码) 摘要:解题思路:注意四个中的三个我用了暴力判断加sort排序巧妙解决四个中三个的问题注意事项:参考代码:#include <bits/stdc++.h> #include <iostream> usin…… 题解列表 2019年04月28日 0 点赞 0 评论 862 浏览 评分:0.0
蓝桥杯算法提高VIP-学霸的迷宫 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; const int maxn=500; int dx[]={1,0,0,-…… 题解列表 2019年04月28日 0 点赞 0 评论 1359 浏览 评分:8.0
蛇行矩阵 (C++代码) 摘要:解题思路:参考大神思路自己写的注意事项:参考代码:#include <iostream>#include<iomanip>#include<cstdio>#include<cmath>#include…… 题解列表 2019年04月28日 0 点赞 0 评论 515 浏览 评分:0.0
忙碌的小L (月赛题解,targin) 摘要:解题思路: 23333,4月月赛题目,这道题目是入门题是真的坑,哪有入门这么难的ε=ε=ε=(~ ̄▽ ̄)~,抢个首题解,顺手感谢小闷骚大佬的思路 这道题目直接用并查集做,方正我直接一套模板…… 题解列表 2019年04月28日 5 点赞 3 评论 834 浏览 评分:0.0
查找最小的k个元素 (C语言代码) 新手易懂思路哟 摘要:解题思路: 把所输入的数组按从小到大排序,然后输出排序好的数组的 前 k 个数注意事项:参考代码:#include<stdio.h> int main() { int k,n,i,t,a[10…… 题解列表 2019年04月28日 0 点赞 0 评论 1090 浏览 评分:0.0