0 赞
CF1720D2 题解
前言 01Trie 优化 dp 好题,这是我第一道模板性不那么强的 01Trie 题( 注明:下文的 oplus 符号均代表异或(xor,^)运算。 思路 如果 a_i oplus j<a_j oplus i,那么说明,a_i oplus j 和 a_j oplus i 一定有前…
题解
存档题解 1 篇按获赞排序
在洛谷打开前言 01Trie 优化 dp 好题,这是我第一道模板性不那么强的 01Trie 题( 注明:下文的 oplus 符号均代表异或(xor,^)运算。 思路 如果 a_i oplus j<a_j oplus i,那么说明,a_i oplus j 和 a_j oplus i 一定有前…