cf/mirror

Tetris revisited

CF
86B2200· master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
2 3
...
#.#
Output
000
#0#
Sample 2of 4
Input
3 3
.#.
...
..#
Output
5#1
511
55#
Sample 3of 4
Input
3 3
...
.##
.#.
Output
-1
Sample 4of 4
Input
1 2
##
Output
##
86B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)