1086: A+B for Input-Output Practice (II) 摘要:```cpp #include using namespace std; int main() { int n,a,b; cin>>n; for(int i=1;…… 题解列表 2022年08月31日 0 点赞 0 评论 919 浏览 评分:9.9
1084: 用筛法求之N内的素数 摘要:```cpp #include #include using namespace std; bool zs(int n) { for(int i=2;i>n; for(i…… 题解列表 2022年08月31日 0 点赞 0 评论 495 浏览 评分:9.9
[编程入门]自定义函数之整数处理 摘要:解题思路:题目的意思只需要调整最大最小值,不需要考虑其他整数的位置,那么在处理数组时,只需要判断a[0]和a[9]是否有值比他们更小或更大,若果有叫交换,如果没有就不操作。注意事项:参考代码:#inc…… 题解列表 2022年08月30日 0 点赞 0 评论 397 浏览 评分:6.0
蓝桥杯2017年第八届真题-青蛙跳杯子(BFS) 摘要: #include using namespace std; int dx[6] = {1, 2, 3, -1, -2, -3}; clas…… 题解列表 2022年08月28日 0 点赞 0 评论 483 浏览 评分:0.0
蓝桥杯2013年第四届真题-危险系数(DFS) 摘要: #include using namespace std; const int N = 1001; vector Line[N]; int …… 题解列表 2022年08月28日 0 点赞 0 评论 577 浏览 评分:0.0
程序员的表白 摘要:#程序员的表白c++代码实现 **题目非常俏皮** **......** **原题链接:**[程序员的表白][https://www.dotcpp.com/oj/problem1389.html…… 题解列表 2022年08月28日 0 点赞 0 评论 422 浏览 评分:0.0
妹子杀手的故事 摘要:#妹子杀手c++实现 **看到这道题目我直接无语了,几乎都是废话,就是输入长和宽,求面积** ```cpp #include using namespace std; int mai…… 题解列表 2022年08月28日 0 点赞 0 评论 463 浏览 评分:0.0
1083: Hello, world! 摘要:```cpp #include using namespace std; int main() { int a; while(cin>>a) cout…… 题解列表 2022年08月28日 0 点赞 0 评论 543 浏览 评分:9.9
信息学奥赛一本通T1330-最少步数(BFS) 摘要: #include using namespace std; int dx1[4] = {-2, -2, 2, 2}; int dy1[4] = {-2…… 题解列表 2022年08月27日 3 点赞 0 评论 923 浏览 评分:9.9
信息学奥赛一本通T1247-河中跳房子(二分法) 摘要: #include #include using namespace std; typedef long long ll; const int…… 题解列表 2022年08月27日 0 点赞 0 评论 692 浏览 评分:8.6