蓝桥杯算法提高VIP-素数求和(不用一个一个枚举,解决时间超限问题) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ inline int sushu(int i);//使用(inl…… 题解列表 2022年02月04日 0 点赞 0 评论 292 浏览 评分:0.0
Hifipsysta-1140-C语言训练-求车速(C++代码)字符串转换法 摘要:```cpp #include #include using namespace std; bool is_symmetry(int n){ bool flag = false;…… 题解列表 2022年02月04日 0 点赞 0 评论 537 浏览 评分:0.0
编写题解 1995: 画三角形 摘要:```python while True: n=int(input()) for i in range(1,n+1): print(('/\\'*i).cent…… 题解列表 2022年02月04日 0 点赞 0 评论 514 浏览 评分:9.9
Hifipsysta-1112-C语言考试练习题_一元二次方程(C++代码)求根公式法 摘要: ```cpp #include #include using namespace std; int main(){ double a,b,c,result; cin…… 题解列表 2022年02月04日 0 点赞 0 评论 397 浏览 评分:0.0
Hifipsysta-1145-C语言训练-自由落体问题(C++代码) 摘要:```cpp #include #include using namespace std; double journey(double t){ double result; …… 题解列表 2022年02月04日 0 点赞 0 评论 345 浏览 评分:0.0
最大车牌——(非常简单的解法) 摘要:什么都不用说了,因为太简单了 c++直接来一个sort ```c++ #include using namespace std; int main() { int n; …… 题解列表 2022年02月04日 0 点赞 0 评论 705 浏览 评分:9.9
Hifipsysta-1144-C语言训练-自守数问题(C++)字符串匹配法 摘要: ```cpp #include #include #include #include using namespace std; bool is_self_hold(long n){…… 题解列表 2022年02月04日 0 点赞 0 评论 448 浏览 评分:0.0
python-倍数问题 摘要:解题思路:注意事项:参考代码:from cmath import inf n,k = map(int,input().strip().split()) …… 题解列表 2022年02月04日 0 点赞 0 评论 517 浏览 评分:7.0
烘烤机(最简单解法) 摘要:###原理 看到这个题,最直接的解法肯定应该枚举晾干所用时间time,然后判断当前的time是否足够衣服完全晾干。 判断方法为: 设当前晾干所用时间为time,晾干第i件衣服要用烘干机xi分钟,…… 题解列表 2022年02月04日 0 点赞 0 评论 601 浏览 评分:9.9
Hifipsysta-1142题-C语言训练-立方和不等式(C++代码) 摘要: ```cpp #include #include #include using namespace std; int triple(int m){ return pow…… 题解列表 2022年02月04日 0 点赞 0 评论 315 浏览 评分:0.0