DXL数独~感觉萌萌哒~
摘要:#include#include#include#includeusing namespace std;const int M = 100005;const int N = 16;struct DLX{ int D[M], U[M], R[M], L[M], head[5000], S[500...
阅读全文
posted @
2015-04-23 22:24
ACMood
阅读(206)
推荐(0)
主席树模板
摘要:#include#include#includeusing namespace std;const int M = 50006;int w[M], a[M], root[M];struct Tree{ int ls, rs, w;} tr[M > 1; if(d = r) return...
阅读全文
posted @
2015-04-22 23:23
ACMood
阅读(166)
推荐(0)