String length

3.3

943 votes
Easy
Problem

Given a string, find the length of string.

Input Format:
First line contains single integer t, the number of test-cases. Each of next t lines contains a string of lower case alphabets.

Output Format:
Output t lines, each containing the single integer, length of corresponding string.

Constraints:
1 ≤ t ≤ 100
1 ≤ length of string ≤ 100

Sample Input
2
hello
heckerearth
Sample Output
5
11
Time Limit: 1
Memory Limit: 256
Source Limit:
Contributers:
Editor Image

?