Type: Default 1000ms 256MiB

C++-字符串-提取整数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

提取整数。 有1行由小写字母和数字组成的字符串(不能有空格),请求出其中所有数的和。 image

Format

Input

Output

Samples

adsf89adfa90zxy1a0af5aatc10
total=195
uoiaadsf12adfadsf9asdfa8aa
total=29
3chm8bvx7sdl
total=18

Limitation

1s, 1024KiB for each test case.

C++基础知识04(字符与字符数组、字符串)

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
11
Start at
2024-5-5 17:00
End at
2024-5-20 17:00
Duration
360 hour(s)
Host
Partic.
7