HDU5269 字典树
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5269 ,BestCoder Round #44的B题,关于字典树的应用。 比赛的时候没想出做法,现在补上。题解: 我们考虑,当lowbit(A xor B) = 2p时,A和B表示的二进制数的后...
阅读全文
posted @ 2015-06-19 18:06
posted @ 2015-06-19 18:06
posted @ 2015-05-02 17:19
posted @ 2015-05-02 14:50
posted @ 2015-04-29 23:17