11709 - 231001_11/30_practice11-2
|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
| Case 4 |
1 sec |
32 MB |
| Case 5 |
1 sec |
32 MB |
Description
-
Input two strings, and find the longest common substring of two strings.
-
There is only one longest common substring.
-
The length of two strings are less than 1000.
Input
-
Input: Two strings
-
Input format: See the sample I/O
Output
-
Output: A substring.
-
Output format: Change a new line at the end.
Tags