哥德巴赫曾猜测思路简单解 摘要:解题思路:注意事项:参考代码:#include<iostream>#define MAX 32767using namespace std;bool isPrime(int num){&n…… 题解列表 2025年09月29日 0 点赞 0 评论 396 浏览 评分:7.0
优雅的代码往往只需要一个简单的偏移量就能搞定! 摘要: #include #include #include #include using namespace std; const int dx[] = {-2,-2,2,2,1,-1…… 题解列表 2025年09月29日 3 点赞 0 评论 306 浏览 评分:10.0
编写题解 3106: 最优乘车(travel) 摘要:C++代码:```cpp#include #include #include #include using namespace std;const int INF=0x3f…… 题解列表 2025年09月27日 1 点赞 0 评论 305 浏览 评分:0.0
2798: 整数序列的元素最大跨度值 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n,maxx= -1e18 ,minn=1…… 题解列表 2025年09月24日 0 点赞 0 评论 508 浏览 评分:0.0
2799: 奥运奖牌计数 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int n; int a…… 题解列表 2025年09月24日 0 点赞 0 评论 434 浏览 评分:0.0
1231: 杨辉三角 简洁 可读性高 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>usingnamespacestd;in…… 题解列表 2025年09月22日 0 点赞 0 评论 519 浏览 评分:0.0
2914: 铺地毯 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年09月22日 0 点赞 0 评论 367 浏览 评分:0.0
2913: 整数去重 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年09月21日 0 点赞 0 评论 395 浏览 评分:0.0
汽水瓶简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; while(cin>>n &am…… 题解列表 2025年09月20日 2 点赞 2 评论 590 浏览 评分:0.0
二级C语言-自定义函数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;double fac(int a){ i…… 题解列表 2025年09月20日 0 点赞 0 评论 400 浏览 评分:0.0