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.11.8
1
11 into 8 best min fragment found: 8/3
2
Cut up 11 sticks of length 8 like this:
3
1 x (4 + 4)
4
2 x (11/3 + 13/3)
5
2 x (10/3 + 14/3)
6
2 x (3 + 5)
7
4 x (8/3 + 8/3 + 8/3)
8
Reassemble as 8 sticks of length 11 like this:
9
2 x (8/3 + 4 + 13/3)
10
2 x (8/3 + 11/3 + 14/3)
11
2 x (8/3 + 10/3 + 5)
12
2 x (8/3 + 8/3 + 8/3 + 3)