摘要: You are given a ternary string (it is a string which consists only of characters '0', '1' and '2'). You can swap any two adjacent (consecutive) charac 阅读全文
posted @ 2018-10-04 11:25 Daybreaking 阅读(278) 评论(0) 推荐(0)
摘要: You are given an array of integers. Vasya can permute (change order) its integers. He wants to do it so that as many as possible integers will become 阅读全文
posted @ 2018-10-04 09:30 Daybreaking 阅读(242) 评论(0) 推荐(0)