Codeforces 1301E-Nanosoft (двухмерный RMQ + две точки)

NoSuchKey

рекомендация

отblog.csdn.net/qq_43202683/article/details/104319057