摘要: You are given a string s consisting of lowercase Latin letters. Character c is called k dominant iff each substring of s with length at least k contai 阅读全文
posted @ 2017-11-26 19:32 Zireael 阅读(421) 评论(0) 推荐(0) 编辑
摘要: You have an array a with length n, you can perform operations. Each operation is like this: choose two adjacent elements from a, say x and y, and repl 阅读全文
posted @ 2017-11-26 10:42 Zireael 阅读(304) 评论(0) 推荐(0) 编辑