牛客练习赛34 F little w and Discretization(可持久化线段树)

NoSuchKey