cf/mirror

Stones on the Table

CF
266A800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3
RRG
Output
1
Sample 2of 3
Input
5
RRRRR
Output
4
Sample 3of 3
Input
4
BRBG
Output
0
266A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)