CodeForce 994 B. Knights of a Polygonal Table(线段树)

NoSuchKey