主页 讨论版 问题 名次 状态 统计
问题 A: Glory And String

问题 A: Glory And String

时间限制: 1 Sec  内存限制: 128 MB
提交: 95  解决: 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

提示

[提交][状态][讨论版]