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.21.9
1
21 into 9 best min fragment found: 15/4
2
Cut up 21 sticks of length 9 like this:
3
3 x (9/2 + 9/2)
4
18 x (15/4 + 21/4)
5
Reassemble as 9 sticks of length 21 like this:
6
3 x (21/4 + 21/4 + 21/4 + 21/4)
7
6 x (15/4 + 15/4 + 15/4 + 9/2 + 21/4)