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

PROGRAMMING:The longest common substring length of two strings

Luz5年前 (2021-05-10)题库419
Find the longest common substring length of two strings.
###Input format:
Enter two strings S and t of length ≤ 100.
###Output format:
Outputs the longest common substring length of two strings.
###Input sample 1:
```in
ABCBDAB
BDCABA
```
###Output sample 1:
```out
two
```
###Input sample 2:
```in
ABACDEF
PGHIK
```
###Output sample 2:
```out
0
```






answer:If there is no answer, please comment