| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 83981 | sh25_guwz | 统计数字字符个数 | C++ | Accepted | 0 MS | 256 KB | 260 | 2026-02-05 08:26:14 |
#include<iostream> #include<cstring> #include<string> #include<cctype> using namespace std; int main(){ string s; int x=0; getline(cin,s); for(int i=0;i<s.size();++i) if(s[i]>='0'&&s[i]<='9') ++x; cout<<x; return 0;}