C++-字符串-统计数字字符个数。输入1行字符,统计出其数字字符的个数
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行字符,统计出其数字字符的个数
Format
Input
Output
Samples
aadsfi3rfqewf902fvad09u0109u0aifaspdfajdsf0a9asdf0102390p800-0-13adsf089130909708
38
jjaldfj112e09i0adf80a8fadfjadsfl0980pijlul8080120padsf;alsdf0-apds9f-adsfasdf
22
aadsfljasdfluoadjfladsfjaldsfja;dsfjasdf
0
Limitation
1s, 1024KiB for each test case.
C++基础知识04(字符与字符数组、字符串)
- 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