D. Staircase Sequences

Problem Name:
D. Staircase Sequences
Site:AtCoder
Links:
Tags: