摘要: 可持久化trie。考场上我脑补了一个trie树合并也A了 cpp include include include using namespace std; int n, k, m, dfnl[100005], dfnr[100005], idx, rot[100005], v[100005], uu 阅读全文
posted @ 2018-05-06 21:29 poorpool 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 超 dark van♂全背包 "ref1" "ref2" 阅读全文
posted @ 2018-05-06 20:02 poorpool 阅读(263) 评论(0) 推荐(0) 编辑
摘要: "problem" cpp include include include using namespace std; typedef long long ll; int n, a[2005]; ll dp[2005][2005]; int main(){ cin n; for(int i=1; i 阅读全文
posted @ 2018-05-06 17:12 poorpool 阅读(160) 评论(0) 推荐(0) 编辑