摘要: A. Diverse Strings A. Diverse Strings A string is called diverse if it contains consecutive (adjacent) letters of the Latin alphabet and each letter o 阅读全文
posted @ 2019-07-27 17:33 远航。 阅读(169) 评论(0) 推荐(0) 编辑
摘要: B. Parity Alternated Deletions B. Parity Alternated Deletions Polycarp has an array aa consisting of nn integers. He wants to play a game with this ar 阅读全文
posted @ 2019-07-27 17:28 远航。 阅读(349) 评论(0) 推荐(0) 编辑
摘要: C. Two Shuffled Sequences C. Two Shuffled Sequences Two integer sequences existed initially — one of them was strictly increasing, and the other one — 阅读全文
posted @ 2019-07-27 17:23 远航。 阅读(233) 评论(0) 推荐(0) 编辑
摘要: D. Equalize Them All D. Equalize Them All You are given an array aa consisting of nn integers. You can perform the following operations arbitrary numb 阅读全文
posted @ 2019-07-27 17:19 远航。 阅读(274) 评论(0) 推荐(0) 编辑