摘要: Vasya has a multiset ss consisting of nn integer numbers. Vasya calls some number xx nice if it appears in the multiset exactly once. For example, mul 阅读全文
posted @ 2020-03-07 23:00 DeaL57 阅读(164) 评论(0) 推荐(0)
摘要: The on-board computer on Polycarp's car measured that the car speed at the beginning of some section of the path equals v1 meters per second, and in t 阅读全文
posted @ 2020-03-07 16:21 DeaL57 阅读(195) 评论(0) 推荐(0)
摘要: Tanya wants to go on a journey across the cities of Berland. There are nn cities situated along the main railroad line of Berland, and these cities ar 阅读全文
posted @ 2020-03-07 15:31 DeaL57 阅读(217) 评论(0) 推荐(0)
摘要: This is the easy version of this problem. The only difference is the constraint on kk — the number of gifts in the offer. In this version: k=2k=2. Vas 阅读全文
posted @ 2020-03-07 09:50 DeaL57 阅读(140) 评论(0) 推荐(0)