Stones on the Table
266A800· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3RRG
Output
1
Sample 2of 3
Input
5RRRRR
Output
4
Sample 3of 3
Input
4BRBG
Output
0
58%
266A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3RRG
1
5RRRRR
4
4BRBG
0