2020年1月2日
#林大OJ 193
字符串统计(http://acm.nefu.edu.cn/contestShow.php)
```cpp
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n,i,j,t;
char a[100];
while(scanf("%d",&n)!=EOF)
{
t=0;
for(i=0;i<n;i++)
{
scanf("%s",a);
for(j=0;j<strlen(a);j++)
{
if(a[j]>='0'&&a[j]<='9')
{
t++;
}
}
printf("%d\n",t);
t=0;
}
}
return 0;
}