#p7310. 字符串中的数字个数
字符串中的数字个数
Description
输入一行字符,长度不超过 100,请你统计一下其中的数字字符的个数。
Input
输入一行字符。注意其中可能包含空格。
Output
输出一个整数,表示字数字字符的个数。
Samples
I am 18 years old this year.
2
Limitation
1s, 1024KiB for each test case.
Related
In following contests:
输入一行字符,长度不超过 100,请你统计一下其中的数字字符的个数。
输入一行字符。注意其中可能包含空格。
输出一个整数,表示字数字字符的个数。
I am 18 years old this year.
2
1s, 1024KiB for each test case.
In following contests:
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.