Help Victoria the Wise
98A1700· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
YYYYYY
Output
1
Sample 2of 3
Input
BOOOOB
Output
2
Sample 3of 3
Input
ROYGBV
Output
30
58%
98A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
YYYYYY
1
BOOOOB
2
ROYGBV
30