Egg Roulette
865F3300· legendary gm3s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
1 1??BB
Output
0
Sample 2of 3
Input
2 4?BA??B??A???
Output
1
Sample 3of 3
Input
4 14????A??BB?????????????AB????????????
Output
314
58%
865F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)