摘要:
P1278 单词游戏 "传送门" Sol: 枚举词典中的每个单词,然后跑DFS。再加个记忆化就不会T了。 AC Code: include include include using namespace std; const int N = 16 + 4,M = 100 + 10; int n; c 阅读全文
摘要:
JOYOI1432 楼兰图腾 "传送门" 思路: 题目等价于要求满足$x_1y_3$和$x_1y_2,y_2 include include include using namespace std; const int N=200000+100; typedef long long LL; int 阅读全文