【题目描述】
【输入】
【输出】
【输入样例】
Peking University is set up at 1898.
【输出样例】
#include<iostream> #include<cstdio> #include<cstring> using namespace std; int main(){ char st[260]; int n=0; cin.getline(st,256); for(int i=0;i<strlen(st);++i) if(st[i]>='0' && st[i]<='9') n++; cout<<n; return 0; }//OK
Powered by 孙会中 @ 2024-2026【 www.sunhuizhong.cn 】All rights reserved
访问统计:387751 本月:10 上月:8 今日:1 昨日:1 当前在线:1人