Petr#
113B2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
roundroou
Output
1
Sample 2of 4
Input
codeforcescodeforca
Output
0
Sample 3of 4
Input
ababababab
Output
4
Sample 4of 4
Input
abaabba
Output
1
58%
113B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)