Dominoes
394C2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 301 11 0000 01 11
Output
11 11 1000 00 01
Sample 2of 2
Input
4 111100100
Output
11100100
58%
394C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 301 11 0000 01 11
11 11 1000 00 01
4 111100100
11100100