Skip to content

Commit

Permalink
Update data_structure/dynamic_point_set_rectangle_affine_rectangle_su…
Browse files Browse the repository at this point in the history
…m/task.md


Fix JA statement of query type `0`. (Not using P_{i + |P|})

Co-authored-by: maspypy <[email protected]>
  • Loading branch information
robinyqc and maspypy authored Nov 16, 2024
1 parent 953096c commit 6d80d50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You are given an initial multiset of $N$ weighted points, $P = (P_0, P_1, \dots,

$Q$ 個のクエリを処理してください.$i$ 番目のクエリ($0\leq i<Q$)は次の形式です.

- `0 $x$ $y$ $w$`: 新たに 点 $P_{i + |P|}$ を追加する.座標は $(x,y)$,重みは $w$ であるとする
- `0 $x$ $y$ $w$`: 新たに重み $w$ の点を $(x,y)$ に追加する.追加前に $k=|P|$ とするとき,この点を $P_k$ と呼ぶ

- `1 $x$ $w$`: $P_x$ の重みを $w$ に変更する(つまり $w_x \gets w$).

Expand Down

0 comments on commit 6d80d50

Please sign in to comment.