组合数(隔板法)+ 高精度 摘要:解题思路:组合数(隔板法)+ 高精度参考代码:#include <iostream>#include <cstring>#include <algorithm>#i…… 题解列表 2025年09月12日 0 点赞 0 评论 90 浏览 评分:0.0
递推 + 前缀和 摘要:解题思路:递推 + 前缀和注意事项:参考代码:#include <iostream>#include <cstring>#include <algorithm>us…… 题解列表 2025年09月12日 0 点赞 0 评论 91 浏览 评分:0.0
编写题解 2780: 奇偶数判断 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int i; …… 题解列表 2025年09月10日 0 点赞 0 评论 114 浏览 评分:0.0
编写题解 2779: 输出绝对值 摘要:#include<bits/stdc++.h>using namespace std;int main(){ double i; &nbs…… 题解列表 2025年09月10日 0 点赞 0 评论 119 浏览 评分:0.0
编写题解 2751: 超级玛丽游戏 摘要:#include<bits/stdc++.h>using namespace std;int main(){ cout<<" &…… 题解列表 2025年09月10日 0 点赞 0 评论 101 浏览 评分:0.0
编写题解 1866: 三位数反转 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int i; …… 题解列表 2025年09月10日 0 点赞 0 评论 91 浏览 评分:0.0
利用vector定义数组大小,static_cast显式转换 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#include <vector>int main(){ int n…… 题解列表 2025年09月10日 0 点赞 0 评论 70 浏览 评分:0.0
1为真,0为假 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b, c, d; cin >> …… 题解列表 2025年09月08日 1 点赞 0 评论 103 浏览 评分:10.0
另一种解题思路 摘要:解题思路:阶梯计算,省去重复步骤注意事项:用goto防止重复计算参考代码:#include<iostream>using namespace std;int main(){ int a =…… 题解列表 2025年09月08日 0 点赞 0 评论 89 浏览 评分:0.0
最长平台---C++的一些思路分享 摘要:解题思路:首先是创建一个可变数组可以进行输入元素,然后进入SqLongestList函数,负责找到最大的连续数。其内部实现最主要的就是两个指针,一个start作为标记指针,一个move作为移动指针。s…… 题解列表 2025年09月04日 0 点赞 0 评论 153 浏览 评分:0.0