| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77469 | sh25_wangsj | 统计数字字符个数 | C++ | 通过 | 0 MS | 252 KB | 208 | 2025-12-26 14:11:10 |
#include<bits/stdc++.h> using namespace std; int main(){ int x=0; string s; getline(cin,s); for(int i=0;i<s.size();++i){ x+=isdigit(s[i]); } cout<<x; return 0; }