摘要: Problem Description Hzz loves aeroplane chess very much. The chess map contains N+1 grids labeled from 0 to N. Hzz starts at grid 0. For each step he 阅读全文
posted @ 2018-06-10 16:04 HYJ_cnyali 阅读(161) 评论(0) 推荐(0)
摘要: Description 对于一个给定长度为N的字符串,求它的第K小子串是什么。 Input 第一行是一个仅由小写英文字母构成的字符串S 第二行为两个整数T和K,T为0则表示不同位置的相同子串算作一个。T=1则表示不同位置的相同子串算作多个。K的意义如题所述。 Output 输出仅一行,为一个数字串, 阅读全文
posted @ 2018-06-10 09:13 HYJ_cnyali 阅读(121) 评论(0) 推荐(0)
摘要: A string is finite sequence of characters over a non empty finite set Σ. In this problem, Σ is the set of lowercase letters. Substring, also called fa 阅读全文
posted @ 2018-06-10 09:00 HYJ_cnyali 阅读(144) 评论(0) 推荐(0)