diff options
| author | Gustav Sörnäs <gusso230@student.liu.se> | 2019-12-11 06:51:34 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gusso230@student.liu.se> | 2019-12-11 06:51:34 +0100 |
| commit | 7afab1ad3892084ee079fe5ef45edc7fb452af06 (patch) | |
| tree | 8cf741296ed87740cd748df83266aacac4b4fe7e /solutions/cpp/01-1.cpp | |
| parent | 9fbcd849e973ef231d62cf76da0fdc9858b74def (diff) | |
| download | aoc-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/cpp/01-1.cpp')
0 files changed, 0 insertions, 0 deletions
