-->
当前位置:首页 > 题库

PROGRAMMING:Calculate the length of the longest string

Luz5年前 (2021-05-10)题库609
Write a program to calculate the length of the longest string with n(1### input format:
Enter n in the first line which indicate that there are n strings to be entered, each string taking up one line.
### output format:
Output the length of the longest string
### input sample:
```in
four
blue
yellow
red
green
```
### output sample:
```out
length=6
```







answer:If there is no answer, please comment