C - Monotonically Non-Decreasing Sequences

2 secs 1024 MB
kusirakusira's icon kusirakusira

00_sample-0001.txt


入力

出力