cf/mirror

Colouring Game

CF
1704F2600· international gm1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
8
3
BRB
5
RRBBB
6
RBRBRB
8
BBRRBRRB
6
BRRBRB
12
RBRBRBRBRRBB
12
RBRBRBRBBBRR
4
RBBR
Output
Bob
Bob
Alice
Alice
Alice
Alice
Bob
Bob
1704F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)