Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Creates 1 Box:
  2. 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]] ] )
  3.  
  4. Creates 1 Box:
  5. 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]] ] )
  6.  
  7. Creates 1 Box:
  8. 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]] ] )
  9.  
  10. Creates 1 Box:
  11. 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]] ] )
  12.  
  13. Creates 0 Boxes:
  14. 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