B. New Year and Ascent Sequence(排序+二分)

NoSuchKey