Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
83423 sh25_shengmy 统计数字字符个数 C++ 编译错误 0 MS 0 KB 213 2026-01-25 21:52:02

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ string a; int f=0; getline(cin,a); for(int i=0;i<a.size();++i){ if(isdigit(s[i])) ++f; } cout<<f; return 0; }


测评信息: