1229: Glory And String时间限制: 1 Sec 内存限制: 128 MB
提交: 102 解决: 48
First line is the number of strings T, the T lines follow, each line describe a string Glory needs to operate.The total length of strings won't exceed 5,000 and consist of only lower-case characters.The length of each string won't exceed 2,000.
3 aaaab abcde abb
1 4 1