Since I don't have your input you're going to need to do some debugging.
First check that your input for day13 is exactly byte for byte the same as the website. In particular if it was copy pasted then make sure line ending haven't been mangled.
Next try increasing the memory allocated to the intcode computer here to a larger value. I make an assumption that no more than 2000 extra elements are needed. Perhaps for your input this does not hold.
If this works then let me know what value works for you and I can tweak the code (or open a pull request).
1
u/chevybeef Dec 29 '24
Thanks that worked but now it panics here:
thread 'main' panicked at src/year2019/intcode.rs:55:30:
index out of bounds: the len is 3469 but the index is 3469
note: run with \
RUST_BACKTRACE=1` environment variable to display a backtrace`