HDU 4417 Super Mario(莫队 + 树状数组 + 离散化)

NoSuchKey