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

PROGRAMMING:JMU DS longest digit sequence

Luz5年前 (2021-05-10)题库453
Enter a string to find the starting position and length of the longest continuous number sequence in the string.
###Input format:
Enter a string that can contain spaces.
###Output format:
Output content: the starting position of the longest number sequence is separated from the length space. There cannot be spaces at the end of the output. Input empty string, output "null"
###Input example:
```in
123ab12345a
```
###Output example:
```out
5 5
```






answer:If there is no answer, please comment