delete pics to save space
This commit is contained in:
13
history_source/信息学奥赛一本通/1.5.3.1.cpp
Normal file
13
history_source/信息学奥赛一本通/1.5.3.1.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
#include<iostream>
|
||||
#include<string>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
string s;
|
||||
getline(cin,s);
|
||||
int ans=0;
|
||||
for(int i=0;i<s.size();i++) if(s[i]<='9'&&s[i]>='0') ans++;
|
||||
cout<<ans<<endl;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user