[Codeforces 842D Vitya and Strange Lesson]异或字典树[Codeforces 842D Vitya and Strange Lesson]异或字典树
[Codeforces 842D Vitya and Strange Lesson]异或字典树分类:Data Structure Trie Tree 1. 题目链接[Codeforces 842D Vitya and Strange Lesson]2. 题意描述有NN个数,MM次查询a1,a2,…,ana_1,a_2,\dots,a_n。每次查询包含一个数xx,将所有数与xx异或,即ai=ai⨁xa