Rosetta Problems
← 問題一覧に戻る
区間 LIS クエリ
順列
P
P
P
と
Q
Q
Q
個の区間が与えられ、各区間の最長増加部分列の長さを求める。
関連リンク
yosupo/static_range_lis_query