| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 163450 | 万麟峰 | 统计数字字符个数 | C++ | Accepted | 4 MS | 276 KB | 212 | 2026-10-25 12:27:12 |
#include<bits/stdc++.h> using namespace std; int main(){ string n; getline(cin,n); int b=0; for(int i=0;n[i]!='\0';i++){ if(int(n[i])>='0' && n[i]<='9'){ b++; } } cout<<b; return 0; }