超级楼梯 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { S…… 题解列表 2022年02月11日 0 点赞 0 评论 455 浏览 评分: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 评论 492 浏览 评分:0.0
核电站问题 (Java代码) 摘要:import java.math.BigInteger; import java.util.Scanner; public class Main { public static voi…… 题解列表 2022年02月11日 0 点赞 0 评论 679 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数(c语言)--两种解法 摘要:解题思路:解法一:直接暴力循环,遍历每一个满足a,b,c的值,时间复杂度(n3)解法二:在解法一的基础上进行了优化,根据a<b<c,可以得出1<a<333,a<=b<500,时间复杂度(n2),相比起…… 题解列表 2022年02月11日 0 点赞 0 评论 724 浏览 评分:9.9
Hifipsysta-2080-蓝桥杯基础练习-十六进制转八进制(C++代码) 摘要:```cpp #include #include #include #include using namespace std; long long M2Ten(string mystr…… 题解列表 2022年02月11日 0 点赞 0 评论 407 浏览 评分:0.0
龟兔赛跑预测 摘要:解题思路:首先输出v1,v2,t,s,l。s1表示兔子赛跑时间,l1表示兔子跑的距离;s2表示乌龟赛跑时间,l2表示乌龟跑的距离。我们要从第一秒开始比较。兔子和乌龟有一方到达终点比赛就会结束。考虑到兔…… 题解列表 2022年02月11日 0 点赞 0 评论 569 浏览 评分:9.9
Hifipsysta-2082-蓝桥杯基础练习-十六进制转十进制(C++代码) 摘要:```cpp #include #include #include using namespace std; int M2Ten(string mystr, int M){ i…… 题解列表 2022年02月11日 0 点赞 0 评论 750 浏览 评分: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 评论 1710 浏览 评分: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 评论 426 浏览 评分:0.0
Hifipsysta-1680-数据结构-八进制数(C++代码) 摘要:```cpp #include #include #include using namespace std; void Ten2N(int num, int N){ vecto…… 题解列表 2022年02月11日 0 点赞 0 评论 559 浏览 评分:9.9