然而,它有 q 次修改操作,每次操作给定 x 和 y,将 ax 改成 y。注意,修改是永久性的。
然而,题面中说:
However, your annoying boss wants to make q updates to the array b . In the i -th update, he will choose a slide si and a member ti and set bsi:=ti . Note that these updates are persistent, that is changes made to the array b will apply when processing future updates.
显然,应该是修改的 b 数组而非 a 数组。
应该改为:
然而,它有 q 次修改操作,每次操作给定 x 和 y,将 bx 改成 y。注意,修改是永久性的。
然而,它有 $q$ 次修改操作,每次操作给定 $x$ 和 $y$,将 $b_x$ 改成 $y$。注意,修改是永久性的。
(同样的,CF2021C1 中也存在这个问题,但是其实无所谓,因为那题没有修改)