#P152. 统计数字字符的个数
统计数字字符的个数
题目描述
给定一行字符(字符数量不超过100,中间没有空格),请输出其中的数字字符,并统计数字字符的个数。
输入数据 1
Hi, 3.141
输出数据 1
314
3
给定一行字符(字符数量不超过100,中间没有空格),请输出其中的数字字符,并统计数字字符的个数。
Hi, 3.141
314
3
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.