Skip to content
Snippets Groups Projects

patches

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Alexander Dielen
    snippetfile1.txt 432 B
    Patch Neighborhoods
    ===================
    
    This is what is stored in the global variable "cache" after update_cache() and
    before spiralMC() is called.
    
    0: [0, 4, 0, 5, 5, 5, 0, 3, 0, 5]
    1: [5]
    2: [5, 5]
    3: [0]
    4: [0]
    5: [0, 5, 5, 5, 5, 5, 1, 5, 5, 0, 5, 5, 2, 5, 5, 5, 5, 0, 0]
    
    
    Sequence for Patch 2
    ====================
    
    [2, 5, 5, 5, 5, 5, 5, 0, 0, 0, 5, 5, 5, 5, 5, 1, 5, 5, 0, 0]
    
    0: True
    1: True
    2: True
    3: False
    4: False
    5: True
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment