chiark
/
gitweb
/
~ianmdlvl
/
matchsticks-search.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix the test script.
[matchsticks-search.git]
/
data
/
partition.29.24
1
29 into 24 best min fragment found: 17/2
2
Cut up 29 sticks of length 24 like this:
3
1 x (12 + 12)
4
8 x (21/2 + 27/2)
5
4 x (10 + 14)
6
4 x (19/2 + 29/2)
7
4 x (9 + 15)
8
8 x (17/2 + 31/2)
9
Reassemble as 24 sticks of length 29 like this:
10
2 x (29/2 + 29/2)
11
4 x (14 + 15)
12
8 x (27/2 + 31/2)
13
4 x (9 + 19/2 + 21/2)
14
4 x (17/2 + 10 + 21/2)
15
2 x (17/2 + 17/2 + 12)