2571: 蓝桥杯2020年第十一届省赛真题-回文日期 (C++) 摘要:解题思路:先构造回文日期与ABABBABA形日期,再判断日期是否合法如何构造回文日期:假设输入的日期为 n取 n 的前四位为 x,即 x = n / 10000将 x 反转后接在 x 的后面就构造了一…… 题解列表 2022年02月11日 0 点赞 7 评论 1770 浏览 评分:5.7
超级楼梯 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { S…… 题解列表 2022年02月11日 0 点赞 0 评论 283 浏览 评分:9.9
Hifipsysta-1229-最小公倍数(C++代码)辗转相除法 摘要:```cpp #include using namespace std; long long GCD(long long a, long long b){ if(b==0){ …… 题解列表 2022年02月11日 0 点赞 0 评论 327 浏览 评分:0.0
核电站问题 (Java代码) 摘要:import java.math.BigInteger; import java.util.Scanner; public class Main { public static voi…… 题解列表 2022年02月11日 0 点赞 0 评论 342 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数(c语言)--两种解法 摘要:解题思路:解法一:直接暴力循环,遍历每一个满足a,b,c的值,时间复杂度(n3)解法二:在解法一的基础上进行了优化,根据a<b<c,可以得出1<a<333,a<=b<500,时间复杂度(n2),相比起…… 题解列表 2022年02月11日 0 点赞 0 评论 395 浏览 评分:9.9
Hifipsysta-2080-蓝桥杯基础练习-十六进制转八进制(C++代码) 摘要:```cpp #include #include #include #include using namespace std; long long M2Ten(string mystr…… 题解列表 2022年02月11日 0 点赞 0 评论 239 浏览 评分:0.0
龟兔赛跑预测 摘要:解题思路:首先输出v1,v2,t,s,l。s1表示兔子赛跑时间,l1表示兔子跑的距离;s2表示乌龟赛跑时间,l2表示乌龟跑的距离。我们要从第一秒开始比较。兔子和乌龟有一方到达终点比赛就会结束。考虑到兔…… 题解列表 2022年02月11日 0 点赞 0 评论 332 浏览 评分:9.9
Hifipsysta-2082-蓝桥杯基础练习-十六进制转十进制(C++代码) 摘要:```cpp #include #include #include using namespace std; int M2Ten(string mystr, int M){ i…… 题解列表 2022年02月11日 0 点赞 0 评论 552 浏览 评分:0.0
python-砝码称重 摘要:解题思路:参考博客https://blog.csdn.net/qq_52441682/article/details/122634449?spm=1001.2101.3001.6650.1&utm_m…… 题解列表 2022年02月11日 0 点赞 3 评论 1497 浏览 评分:9.8
Hifipsysta-1934-蓝桥杯算法提高VIP-十进制数转八进制数(C++代码) 摘要:```cpp #include #include #include using namespace std; vector Ten2N(int num, int N){ vec…… 题解列表 2022年02月11日 0 点赞 0 评论 215 浏览 评分:0.0