Подсчитать буквы в тексте
нелегко)
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }
include <bits/stdc++.h>
using namespace std; int main() { char s; int say=0; vector<int>herf(26,0); while(cin.get(s)){ if(isalpha(s)){ herf[tolower(s)-'a']++; } } for(int i:herf){ cout<<i; } }