摘要: Given a string, we need to find the total number of its distinct substrings. Input T- number of test cases. T<=20;Each test case consists of one strin 阅读全文
posted @ 2019-06-10 16:19 zjxxcn 阅读(185) 评论(0) 推荐(0) 编辑
摘要: The repetition number of a string is defined as the maximum number R such that the string can be partitioned into R same consecutive substrings. For e 阅读全文
posted @ 2019-06-10 15:32 zjxxcn 阅读(216) 评论(0) 推荐(0) 编辑