| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81999 | 揭伟琦 | 统计数字字符个数 | C++ | Wrong Answer | 0 MS | 272 KB | 204 | 2024-07-12 16:38:03 |
#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