#2199. C++-字符串-提取整数(只打印数字)

C++-字符串-提取整数(只打印数字)

Background

Description

把字符串里的所有数字找出来并打印。

image

Format

Input

Output

Samples

adsf89adfa90zxy1a0af5aatc10
8
9
9
0
1
0
5
1
0
uoiaadsf12adfadsf9asdfa8aa
1
2
9
8
3chm8bvx7sdl
3
8
7

Limitation

1s, 1024KiB for each test case.