ACM-ICPC 2018 徐州赛区网络预赛 H. Ryuji doesn't want to study (线段树+思维)

NoSuchKey