x/2 向 000 取整,而 x>>1 永远向下取整。 map::emplace(x, y) 表示若不存在 x 下标的数就插入 (x,y),返回 make_pair(iter,is_success)。 map::emplace_hint(it, x, y),表示在 it 后面插入 (x,y),返回插入的 iter,复杂度 O(1)\mathcal{O}(1)O(1)。