题解列表
[LETTERS] BFS 配合 map容器
摘要:## unordered_map
的.count函数-用于查找是否出现过该状态,是返回1;
```cpp
#include
#define ULL unsigned long long
#d……
[蓝桥杯2017年第八届真题-九宫幻方] DFS
摘要:## 思路:先找出未用的数字有哪些,再进行深搜找出全排列的数,然后放入九宫格中,最后进行检测看是否符合题意
```cpp
#include
#define ULL unsigned long l……
必备技法--高精度乘法//vector版
摘要:###### 高精度乘法vector版
```cpp
#include
#include
#include
#include
#define int long long ……
蓝桥杯2024年第十五届决赛真题-最小字符串
摘要:#贪心+二路归并
```cpp
#include
#include
#include
using namespace std;
int main(void) {
ios::sync_w……
必备技法--高精加//vector数组版 + string版
摘要:# 高精度加法vector版
使用vevtor容器 容量可变的优势 模拟高精度
本模板无难点 需要注意 输出答案之前要 反转结果
```cpp
#include
#inclu……
bfs之八数码问题/一维化二维思路--蓝桥杯省赛2023
摘要:# 此题使用简单的宽搜解决
###### 八数码原题链接请看[八数码原题链接](https://www.xfxcy.com/p/P0231 "八数码原题链接")
###### 分享一下我的洛谷……
借鉴大神的写法:写出自己的理解1047: [编程入门]报数问题
摘要:解题思路:看到大神写的不禁感叹! 我也是借鉴来的 首先我们要把题目搞清楚,将各个对象用C++的语言描述 n个人,首先应该想到