summaryrefslogtreecommitdiffstats
path: root/solutions/input/03
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-12-11 06:51:34 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-12-11 06:51:34 +0100
commit7afab1ad3892084ee079fe5ef45edc7fb452af06 (patch)
tree8cf741296ed87740cd748df83266aacac4b4fe7e /solutions/input/03
parent9fbcd849e973ef231d62cf76da0fdc9858b74def (diff)
downloadaoc-7afab1ad3892084ee079fe5ef45edc7fb452af06.tar.gz
Day 11 py
I found a bug in my intcode-implementation which day 9 didn't catch. To solve it, I switched the memory from my past hybrid solution (initial memory as a list and extra memory as a dict) to a 100% dict-solution. I am not entirely sure why it didn't work before since Computer.write() checks if the write-position is outside the length, unless it got a negative address. It seems like dict is slower than list for memory so I might try to re-implement lists for (initial) memory later.
Diffstat (limited to 'solutions/input/03')
0 files changed, 0 insertions, 0 deletions