mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-14 08:38:46 +00:00
17 lines
224 B
C++
17 lines
224 B
C++
|
// R38953830
|
||
|
|
||
|
#include <bits/stdc++.h>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
int main() {
|
||
|
char c;
|
||
|
int a[30] = {0};
|
||
|
while (cin >> c) {
|
||
|
a[c - 'a']++;
|
||
|
}
|
||
|
sort(a, a + 26);
|
||
|
cout << a[25] << endl;
|
||
|
return 0;
|
||
|
}
|