Talk:Cut a rectangle: Difference between revisions
Content added Content deleted
(J: update comments for new version) |
|||
Line 89: | Line 89: | ||
Basically, I count how many bits are in my rectangle, divide that by 2, and then subtract 1. |
Basically, I count how many bits are in my rectangle, divide that by 2, and then subtract 1. |
||
Applying this 'step' mechanism that many times is going to give me a lot of possibilities: |
|||
<lang j> $ step step step step step init 3 4 |
<lang j> $ step step step step step init 3 4 |
||
9 3 4</lang> |
9 3 4</lang> |
||
Here's a simpler example: |
|||
<lang j> N init 2 3 |
<lang j> N init 2 3 |