提交时间:2026-01-25 21:52:02
运行 ID: 83423
#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; }