#セグ木
[AGC063] B - Insert 1, 2, 3, ...
[Q] https://atcoder.jp/contests/agc063/tasks/agc063_b 考察 ・生成可能なパターンの始ま…
![](https://assets.st-note.com/production/uploads/images/71817426/rectangle_large_type_2_cd33f56afc271bf9111ecd9382b04a31.png?width=200)
[AGC040] B - Two Contests
[Q] https://atcoder.jp/contests/agc040/tasks/agc040_b [A] https://youtu.be/qIzuNgDV6O8…
[ARC133] B - Dividing Subsequence
[Q] https://atcoder.jp/contests/arc133/tasks/arc133_b 1. P->Qへ、indexマッピングをする…