| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144371 | 万骏博 | 统计数字字符个数 | C++ | Accepted | 0 MS | 268 KB | 224 | 2026-01-21 20:59:21 |
#include <bits/stdc++.h> using namespace std; string s,c; int i,kk; int main(){ getline(cin,c); i=c.size(); for(int j=0;j<i;j++){ if(c[j]>='0'&&c[j]<='9'){ kk++; } } cout<<kk; return 0; }