cf/mirror

K-Dominant Character

CF
888C1400· specialist2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
abacaba
Output
2
Sample 2of 3
Input
zzzzz
Output
1
Sample 3of 3
Input
abcde
Output
3
888C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)