Codeforces 1326 E. Bombs (线段树)

NoSuchKey