Skip to content

Instantly share code, notes, and snippets.

@angs
angs / pentominoExactCoverMatrix
Created November 26, 2016 07:54
Cover 20×15 grid that wraps in y-direction with 5 sets of 12 pentominos, encoded as an exact cover problem
This file has been truncated, but you can view the full file.
100000000000000000001110000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000
000000000000000000001000000000000000000011100000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000001000000000000000000011100000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010
@angs
angs / n=6, k=3
Last active November 30, 2016 18:07
Gray code skips with two byte changes
000000
000001
000011
000010
000110
000111
000101
000100
001100
001101
@angs
angs / oranges
Created April 15, 2018 06:40
Fruit weights for code golf problem
160
200
156
151
164
181
162
151
175
180