poj 3468 A Simple Problem with Integers 树状数组 或 线段树

NoSuchKey