
字典树
文章平均质量分 63
team39
喜欢写注释
展开
-
G - Vitya and Strange Lesson(数组-字典树)
G - Vitya and Strange Lesson CodeForces - 842D Today at the lesson Vitya learned a very interesting function — mex. Mex of a sequence of numbers is the minimum non-negative number that is not pres...原创 2018-10-22 21:28:56 · 164 阅读 · 0 评论 -
A - Xor Sum (数组-字典树)
A - Xor Sum Zeus 和 Prometheus 做了一个游戏,Prometheus 给 Zeus 一个集合,集合中包含了N个正整数,随后 Prometheus 将向 Zeus 发起M次询问,每次询问中包含一个正整数 S ,之后 Zeus 需要在集合当中找出一个正整数 K ,使得 K 与 S 的异或结果最大。Prometheus 为了让 Zeus 看到人类的伟大,随即同意 Zeus 可...原创 2018-10-22 21:44:05 · 285 阅读 · 0 评论