Russian Roulette
103C1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3 1 3123
Output
..X
Sample 2of 3
Input
6 3 6123456
Output
.X.X.X
Sample 3of 3
Input
5 2 512345
Output
...XX
58%
103C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)