Live2d Test Env
摘要: Sample Input Sample Output 给定一个数字字符串S,如果一个数字字符串(只包含0-9,可以有前导0)中出现且只出现1次S,我们就称这个字符串是好的。 例如假设S=666,则1666、03660666是好的,6666、66、123不是好的;假设S=1212,则01212、121 阅读全文
posted @ 2019-01-07 18:09 nimphy 阅读(357) 评论(0) 推荐(0) 编辑
摘要: Sample Input Sample Output 小Hi有一个长度为N的字符串,这个字符串每个位置上的字符两两不同。现在小Hi可以进行一种剪切操作: 选择任意一段连续的K个字符,把这段子串剪下来,粘在串首或者串尾。例如ABCDE -> ADEBC、ABCDE -> BCADE或者ABCDE -> 阅读全文
posted @ 2019-01-07 17:08 nimphy 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Alex decided to try his luck in TV shows. He once went to the quiz named "What's That Word?!". After perfectly answering the questions "How is a pseud 阅读全文
posted @ 2019-01-07 13:05 nimphy 阅读(259) 评论(0) 推荐(0) 编辑