WHY?60分TLE

P4305 [JLOI2011] 不重复数字

count函数的时间复杂度是$O(log n)$ 总的时间复杂度为$O(t\times n\times logn)$ ,而$n$最大为$5 \times 10^4$,你的程序肯定超时
by hash_peas @ 2023-07-19 22:08:02


那为啥我朋友这么写却过了?
by Y_QWQ_Y @ 2023-07-20 10:17:54


还是map好用 AC啦 [终于AC了](https://www.luogu.com.cn/record/117163915)
by Y_QWQ_Y @ 2023-07-24 11:13:22


|