1096: Minesweeper(c++版) 摘要:**题意:** 挖地雷"这个游戏的目的是在M*N的地雷区格子中找出所有的地雷。为了要帮助你,这个游戏会在非地雷的格子上有些数字,告诉你这一个格子的邻居共有多少个地雷。例如:以下4*4…… 题解列表 2022年02月09日 0 点赞 0 评论 274 浏览 评分:9.9
1084: 用筛法求之N内的素数(c++版) 摘要:** 具体代码:** ```cpp #include using namespace std; int main() { int n; cin >> n; for (int i …… 题解列表 2022年02月09日 0 点赞 0 评论 196 浏览 评分:0.0
Hifipsysta-1585-蓝桥杯算法训练VIP-链表数据求和操作(C++代码)真链表数据域求和 摘要:```cpp #include using namespace std; const int MAXN = 100; struct node{ int real; in…… 题解列表 2022年02月09日 0 点赞 0 评论 265 浏览 评分:0.0
50行简单dfs-路径之谜 摘要:```cpp #include #include using namespace std; const int N=25; int n,a[N],b[N],vis[N][N]; int…… 题解列表 2022年02月09日 0 点赞 0 评论 447 浏览 评分:9.9
Hifipsysta-1052-[编程入门]链表合并(C++代码)循环链表的冒泡排序 摘要: ```cpp #include #include using namespace std; struct node{ int id; int score; …… 题解列表 2022年02月09日 0 点赞 0 评论 434 浏览 评分:0.0
优质题解 最大体积(动态规划补空隙C++) 摘要:1. - 分析问题 首先,由扩展欧几里得算法,可以得出若x,y为正整数a,b为整数,**则ax+by=1有解是x与y互质的充要条件。** 所以当给出的体积互质时(所有体积的最大公约数为1),一定有…… 题解列表 2022年02月09日 0 点赞 4 评论 630 浏览 评分:9.9
1083: Hello, world!(c++版) 摘要:** 解题思路:** 以数字形式输入,以字符形式输出即可 ** 具体代码** ```cpp #include using namespace std; int main() { …… 题解列表 2022年02月09日 0 点赞 2 评论 318 浏览 评分:8.0
保姆级题解,谁看了都说好 【 C++】 摘要:解题思路:这是一个非常简单的问题,我们只需要输入10个苹果的高度和陶陶的身高,然后逐个进行比较即可注意事项:记得算上凳子的高度参考代码:#include<iostream> using namesp…… 题解列表 2022年02月08日 0 点赞 0 评论 338 浏览 评分:7.3
【偶数求和】C++代码 摘要:解题思路:方法比较笨,仅供参考参考代码:#include<iostream> using namespace std; int main() { int n,m; while…… 题解列表 2022年02月08日 0 点赞 0 评论 269 浏览 评分:9.9
Hifipsysta-1697-数据结构-二叉链表存储的二叉树(C++代码) 摘要:```cpp #include #include #include using namespace std; struct node{ char data; node…… 题解列表 2022年02月08日 0 点赞 0 评论 369 浏览 评分:0.0