D. LR insertion

Problem Name:
D. LR insertion
Site:AtCoder
Links:
Tags: