如果你写 O(nn)O(n\sqrt{n})O(nn) 时空做法,将数组开为形如 cnt[200005][455] 而不是 cnt[455][200005] 的形式,因为前者貌似一级 cache 的命中率较高
cnt[200005][455]
cnt[455][200005]