You are viewing a single comment's thread. Return to all comments →
Q1: why {n:1 m:5} would be 0, and {n:1 m:3} would be want 1
A1: m > 4, and the widest wall is 4, so the wall must has at least two block, and that cause a vertical break, and is invalid
Q2: how to understand the calculation of invalid wall? (valid left part) * (all right part)
A2:
left part is valid, that is said left part does not have vertical break
at least one vertical break is between left part and right part
[ left part | right part ] the two part combined together is a wall that has at least one vertical break wall, and that is invalid
Seems like cookies are disabled on this browser, please enable them to open this website
Lego Blocks
You are viewing a single comment's thread. Return to all comments →
Q1: why {n:1 m:5} would be 0, and {n:1 m:3} would be want 1
A1: m > 4, and the widest wall is 4, so the wall must has at least two block, and that cause a vertical break, and is invalid
Q2: how to understand the calculation of invalid wall? (valid left part) * (all right part)
A2:
left part is valid, that is said left part does not have vertical break
at least one vertical break is between left part and right part
[ left part | right part ] the two part combined together is a wall that has at least one vertical break wall, and that is invalid