| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 111350 | 吴梓玄 | 统计数字字符个数 | C++ | Wrong Answer | 0 MS | 264 KB | 208 | 2025-03-01 17:10:33 |
#include<iostream> #include<cstring> using namespace std; int main(){ char t[256]; gets(t); int x; for(int i=0;i<strlen(t);i++) if(t[i]>='0'&&t[i]<='9') x++; cout<<x; return 0; }
------Input------
I have seen 3 persons over there.
------Answer-----
1
------Your output-----
4195065