【51 nod 1295 XORkey】可持久化字典树
51nod1295
区间查询记得转换为前缀思想 然后用可持久化数据结构维护前缀和
那么查询区间就可以实现了
从高位往下 那一位和自己那位相反就进行异或
/*
if you can't see the repay
Why not just work step by step
rubbish is relaxed
to ljq
*/
#include <cstdi...
原创
2019-08-16 00:15:00 ·
107 阅读 ·
0 评论