[atcoder caddi]E - Negative Doubling——栈+贪心

NoSuchKey