Dancing Links
旺 崽
这个作者很懒,什么都没留下…
展开
-
P4929 【模板】舞蹈链(DLX)
P4929 【模板】舞蹈链(DLX) 题目链接 Dancing Links 模板题,AC代码如下: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxnode=300010; struct DLX { int n,m,siz; int U[maxnode],D[maxnode],R[maxnode],L[maxnode],Row[maxnode],Col[maxnod原创 2020-06-16 15:40:48 · 2366 阅读 · 0 评论 -
ZOJ 3209 Treasure Map
ZOJ 3209 Treasure Map 题目链接 Your boss once had got many copies of a treasure map. Unfortunately, all the copies are now broken to many rectangular pieces, and what make it worse, he has lost some of the pieces. Luckily, it is possible to figure out the posi原创 2020-06-12 10:02:29 · 2400 阅读 · 0 评论