Colorful Stones
264D2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
RBRRGG
Output
5
Sample 2of 3
Input
RGBBBRRBRR
Output
19
Sample 3of 3
Input
RRRRRRRRRRRRRRRRRR
Output
8
58%
264D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
RBRRGG
5
RGBBBRRBRR
19
RRRRRRRRRRRRRRRRRR
8