Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Creates 1 Box:
- print box_created( [[2,1],[3,1]], [ [[2,1],[2,2]], [[2,2],[3,2]], [[3,1],[3,2]], [[1,2],[2,2]], [[2,2],[2,3]], [[1,3],[2,3]], [[2,3],[2,4]], [[2,3],[3,3]], [[3,3],[3,4]], [[3,3],[4,3]], [[3,2],[3,3]], [[3,2],[4,2]] ] )
- Creates 1 Box:
- print box_created( [[1,2],[1,3]], [ [[2,1],[2,2]], [[2,2],[3,2]], [[3,1],[3,2]], [[1,2],[2,2]], [[2,2],[2,3]], [[1,3],[2,3]], [[2,3],[2,4]], [[2,3],[3,3]], [[3,3],[3,4]], [[3,3],[4,3]], [[3,2],[3,3]], [[3,2],[4,2]] ] )
- Creates 1 Box:
- print box_created( [[2,4],[3,4]], [ [[2,1],[2,2]], [[2,2],[3,2]], [[3,1],[3,2]], [[1,2],[2,2]], [[2,2],[2,3]], [[1,3],[2,3]], [[2,3],[2,4]], [[2,3],[3,3]], [[3,3],[3,4]], [[3,3],[4,3]], [[3,2],[3,3]], [[3,2],[4,2]] ] )
- Creates 1 Box:
- print box_created( [[4,2],[4,3]], [ [[2,1],[2,2]], [[2,2],[3,2]], [[3,1],[3,2]], [[1,2],[2,2]], [[2,2],[2,3]], [[1,3],[2,3]], [[2,3],[2,4]], [[2,3],[3,3]], [[3,3],[3,4]], [[3,3],[4,3]], [[3,2],[3,3]], [[3,2],[4,2]] ] )
- Creates 0 Boxes:
- print box_created( [[3,4],[4,4]], [ [[2,1],[2,2]], [[2,2],[3,2]], [[3,1],[3,2]], [[1,2],[2,2]], [[2,2],[2,3]], [[1,3],[2,3]], [[2,3],[2,4]], [[2,3],[3,3]], [[3,3],[3,4]], [[3,3],[4,3]], [[3,2],[3,3]], [[3,2],[4,2]] ] )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement