1574d专题

CodeForces 1574D :The Strongest Build BFS

传送门 题意 分析 用 m a p map map维护不能选的组合,然后 b f s bfs bfs直接搜 太暴力了。。。 代码 #pragma GCC optimize(3)#include <bits/stdc++.h>#define debug(x) cout<<#x<<":"<<x<<endl;#define dl(x) printf("%lld\n",x);#defin