/Fillit

fill up the smallest possible square with tetraminoes

Primary LanguageC

Fillit

fill up the smallest possible square with tetraminoes

Code written in norminette code style(github.com/sabrusrin/norme)

Use make to build project.

Usage

./fillit tetriminos.txt

Input file example

....
####
....
....

....
.#..
.###
....

....
....
##..
.##.

Output

AAAA
CC..
BCC.
BBB.