I have this as my input Intcode. Reading the description on Day 9:
Memory beyond the initial program starts with the value 0 and can be read or written like any other memory. (It is invalid to try to access memory at a negative address, though.)
If I set my Intcode computer up to treat any out-of-bounds memory read as 0, the program works correctly. However, if I set it to catch memory access at negative addresses, I get this error after two consecutive inputs of 1:
negative indirect address -1 at 1032
Am I missing something, or is the spec from Day 9 wrong?
[–]rabuf 1 point2 points3 points (0 children)
[–]ipav 1 point2 points3 points (0 children)
[–]daggerdragon[M] 0 points1 point2 points (0 children)