#include<cstdio>
#include<iostream>
#include<vector>
using namespace std;
int main(){
vector<int>v(10);
string s;
cin>>s;
for(int i=0;i<s.length();i++){
v[s[i]-'0']++;
}
for(int i=0;i<10;i++){
if(v[i]!=0)
cout<<i<<":"<<v[i]<<endl;
}
return 0;
}
B2021
猜你喜欢
转载自www.cnblogs.com/tao7/p/9768595.html
今日推荐
周排行