Information
- ID
- 913
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 1
- Tags
- (None)
- # Submissions
- 94
- Accepted
- 37
- Uploaded By
#include<bits/stdc++.h>
using namespace std;
char s[255];
int main()
{
int cnt=0;
cin.getline(s,255);
for(int i=0;i<strlen(s);i++)
{
if(s[i]<='9' and s[i]>='0')
{
cnt++;
}
}
cout<<cnt;
return 0;
}
这是题解,懂?🤨 [🥬🐔]