2819: 数字反转 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int n, s = 0; cin >> n; while (n) …… 题解列表 2024年01月15日 0 点赞 3 评论 339 浏览 评分:9.9
3013: 求小数的某一位 摘要:解题思路:注意事项:这里的cout要在外面写a的值可以改变参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long lo…… 题解列表 2024年01月15日 0 点赞 0 评论 490 浏览 评分:9.9
题解 1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; fo…… 题解列表 2024年01月15日 0 点赞 0 评论 465 浏览 评分:9.9
题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long m,n,gcd=0; cin>…… 题解列表 2024年01月15日 0 点赞 0 评论 432 浏览 评分:9.9
2817: 级数求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long k; double s=0…… 题解列表 2024年01月15日 0 点赞 1 评论 477 浏览 评分:9.9
1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:此题需要把算式写出来参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; …… 题解列表 2024年01月15日 0 点赞 0 评论 432 浏览 评分:9.9
1328: 移动服务员 #1328:移动服务员是一道比较经典的入门题dp。```cpp/**题目1328:移动服务员*很容易设计出两种dp数组dp[轮数][服务员数量][服务员位置],dp[轮数][服务员1位置][服务员2位置][服务员3位置]*如果是dp[轮数][服务员数量][服务员位置]。 题解列表 2024年01月15日 0 点赞 0 评论 575 浏览 评分:6.0
1437: 蓝桥杯历届试题-城市建设 #1437:蓝桥杯历届试题-城市建设```cpp/**题目1437:蓝桥杯历届试题-城市建设*生成树变形--变形点/难点:两个消费维度+建设码头代价是点权而非边权+生成树算法理解。*第一难点解决方案:拆。不建立码头和建立码头的代价取最小。如果存在包含关系可以只计算一次。 题解列表 2024年01月15日 0 点赞 0 评论 653 浏览 评分:0.0
题解 2817: 级数求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ short k; double sn=0; …… 题解列表 2024年01月15日 0 点赞 0 评论 443 浏览 评分:0.0
1147: C语言训练-角谷猜想 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long aj; cin>>aj; …… 题解列表 2024年01月15日 0 点赞 0 评论 385 浏览 评分:6.0