蓝桥杯2013年第四届真题-危险系数(DFS) 摘要: #include using namespace std; const int N = 1001; vector Line[N]; int …… 题解列表 2022年08月28日 0 点赞 0 评论 511 浏览 评分:0.0
程序员的表白 摘要:#程序员的表白c++代码实现 **题目非常俏皮** **......** **原题链接:**[程序员的表白][https://www.dotcpp.com/oj/problem1389.html…… 题解列表 2022年08月28日 0 点赞 0 评论 374 浏览 评分:0.0
妹子杀手的故事 摘要:#妹子杀手c++实现 **看到这道题目我直接无语了,几乎都是废话,就是输入长和宽,求面积** ```cpp #include using namespace std; int mai…… 题解列表 2022年08月28日 0 点赞 0 评论 410 浏览 评分:0.0
1083: Hello, world! 摘要:```cpp #include using namespace std; int main() { int a; while(cin>>a) cout…… 题解列表 2022年08月28日 0 点赞 0 评论 493 浏览 评分:9.9
信息学奥赛一本通T1330-最少步数(BFS) 摘要: #include using namespace std; int dx1[4] = {-2, -2, 2, 2}; int dy1[4] = {-2…… 题解列表 2022年08月27日 3 点赞 0 评论 854 浏览 评分:9.9
信息学奥赛一本通T1247-河中跳房子(二分法) 摘要: #include #include using namespace std; typedef long long ll; const int…… 题解列表 2022年08月27日 0 点赞 0 评论 638 浏览 评分:8.6
自定义函数处理最大公约数与最小公倍数c++代码实现 摘要:# 自定义函数处理最大公约数与最小公倍数 **直接上代码:** ```cpp #include using namespace std; int gy(int n,int m){ i…… 题解列表 2022年08月26日 0 点赞 0 评论 359 浏览 评分:0.0
筛选N以内的素数c++代码实现 摘要:# 筛选N以内的素数c++代码实现 ###解题思路 **素数是什么?是除了1和本身之外,没有其他任何因数的数,所以我们只需要系一个程序,判断它是否有除1和本身之外的因数即可** ###代…… 题解列表 2022年08月26日 0 点赞 3 评论 334 浏览 评分:9.9
有规律的数列求和 摘要:# 有规律的数列求和c++代码实现 ### 解题思路: **通过观察,可发现一个数列:** **1 2 3 5 8 13 21** **像这种前两项相加等于第三项的数列叫做“斐波那…… 题解列表 2022年08月25日 0 点赞 0 评论 384 浏览 评分:0.0
完数的判断代码 摘要:# 完数的判断 - - - **直接上C++代码**: ```cpp #include//万能头 using namespace std; int a[10000];//用来存放因数 …… 题解列表 2022年08月25日 0 点赞 0 评论 337 浏览 评分:0.0