0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2025-01-26 13:00:08 +00:00
OI-codes/Luogu/P6832/P6832.cpp

17 lines
223 B
C++
Raw Normal View History

2020-09-27 20:52:11 +08:00
// R38953830
#include <bits/stdc++.h>
using namespace std;
int main() {
char c;
2021-11-19 17:01:13 +08:00
int a[30] = {0};
2020-09-27 20:52:11 +08:00
while (cin >> c) {
a[c - 'a']++;
}
sort(a, a + 26);
cout << a[25] << endl;
return 0;
}