Codeforces Round #496 (Div. 3) C. Summarize to the Power of Two(思维+map)

NoSuchKey