| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146465 | 杜禹轩 | 统计数字字符个数 | C++ | Wrong Answer | 0 MS | 272 KB | 206 | 2026-01-28 14:35:47 |
#include<bits/stdc++.h> using namespace std; int main(){ char c[101]; int q=0; cin>>c; for(int i=0;c[i]!='\0';i++){ if(c[i]>='0' && c[i]<='9'){ q++; } } cout<<q; return 0; }
------Input------
I have seen 3 persons over there.
------Answer-----
1
------Your output-----
0