Codeforces - 493C (upper_bound использование)

NoSuchKey

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

отwww.cnblogs.com/zxzmnh/p/12113005.html