传送门
不知为什么,判断全部包含反而A不了,不判断反而A了,╮(╯▽╰)╭
代码
#include <cstdio> #include <iostream> #define max(x, y) ((x) > (y) ? (x) : (y)) using namespace std; int n, ans; int b[21]; string s[21], st; inline bool check(int i, string dra) inline int connect(int p, string dra) } inline void dfs(string dra) } int main() printf("%d\n", ans); return 0; }
上一篇:[luoguP1042] 乒乓球(模拟)
下一篇:[luoguP1021] 邮票面值设计(DFS + dp)
dfs









