![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深搜回溯
未言笑
这个作者很懒,什么都没留下…
展开
-
蓝桥杯第七届国赛-机器人塔
深搜回溯剪枝加简单dp/*机器人塔X星球的机器人表演拉拉队有两种服装,A和B。他们这次表演的是搭机器人塔。类似:AB BA B AA A B BB B B A BA B A B B A队内的组塔规则是: A 只能站在 AA 或 BB 的肩上。 B 只能站在 AB 或 BA 的肩上。你的任务是帮助拉拉队计算一下,在给定A与B的人数时,可以组成多少...原创 2019-04-27 23:08:49 · 170 阅读 · 0 评论 -
蓝桥杯第九届决赛激光样式
#include <iostream>#include <cstdio>#include <cstring>using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop */int...原创 2019-05-09 19:12:35 · 100 阅读 · 0 评论 -
蓝桥杯猜算式
#include <iostream>#include <map>#include <set>using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop */int book[...原创 2019-05-19 20:14:59 · 279 阅读 · 0 评论 -
深搜-全排列
//求1~5的全排列#include <iostream>#include <cstdio>using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop */int a[5],book[5...原创 2019-05-20 20:20:33 · 263 阅读 · 0 评论 -
深搜-组合数
//组合数,深搜入门#include <iostream>#include <cstdio>#include <cstring>using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input...原创 2019-05-20 20:22:16 · 295 阅读 · 0 评论 -
蓝桥杯第六届完美正方形
参考博客#include <iostream>#include <cstring>#include <cstdio>using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop...翻译 2019-05-11 19:02:20 · 208 阅读 · 0 评论