摘要: Vasily has a deck of cards consisting of n cards. There is an integer on each of the cards, this integer is between 1 and 100 000, inclusive. It is po 阅读全文
posted @ 2017-07-14 16:32 阿波罗2003 阅读(430) 评论(0) 推荐(0) 编辑
摘要: Polycarp watched TV-show where k jury members one by one rated a participant by adding him a certain number of points (may be negative, i. e. points w 阅读全文
posted @ 2017-07-14 16:10 阿波罗2003 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Array of integers is unimodal, if: it is strictly increasing in the beginning; after that it is constant; after that it is strictly decreasing. The fi 阅读全文
posted @ 2017-07-14 16:02 阿波罗2003 阅读(187) 评论(0) 推荐(0) 编辑