Kuroba_kaito @ 2025-01-11 10:52:20
所以什么数据结构可以动态查询所有
by MAX007_CRN @ 2025-01-11 10:54:29
线段树,树状数组
by dg114514 @ 2025-01-11 10:55:12
@Kuroba_kaito
by Kuroba_kaito @ 2025-01-11 10:57:35
@dg114514
d*x
by jason_sun @ 2025-01-11 10:58:15
polylog困难(至少为不会),根号容易
by Kuroba_kaito @ 2025-01-11 10:58:24
@MAX007_CRN
大概怎么搞。
by jason_sun @ 2025-01-11 10:58:34
为 -> 我
by Kuroba_kaito @ 2025-01-11 10:59:23
@jason_sun
这么恐怖,谢谢。
by rnf5114 @ 2025-01-11 10:59:39
@Kuroba_kaito只保留为位置为x的倍数的数不就行了吗
by Kuroba_kaito @ 2025-01-11 11:00:27
@rnf5114
by Kuroba_kaito @ 2025-01-11 11:01:12
@rnf5114
好帅。