B - Balanced Sequence HDU - 6299 -贪心+思维

NoSuchKey