2018.10.16 spoj Can you answer these queries V(线段树)

NoSuchKey