PROGRAMMING:The longest common substring length of two strings
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
###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