HDU - 5475 An easy problem (思维+数学+线段树)

NoSuchKey