today’s puzzle made my day. Since day 5 I was wondering when will they introduce relative addressing to Intcode and, possibly, the BigInteger requirement. And maybe, just maybe, .data memory segment. And today - such combo 🙂, I was already prepared for that. https://github.com/jakubgwozdz/AdventOfCode/blob/master/src/advent2019/day09/Day09.kt
😎 2
j
Joris PZ
12/09/2019, 10:16 AM
Oh wow,
BigInteger
when they say large you really do go large! 🙂 I stuck to
Long
, worked at least for today's puzzle
👍 1
j
Jakub Gwóźdź
12/09/2019, 10:32 AM
yeah I didn't want to get stuck on some hidden overflow that would be hard to find, but yeah, I'll probably reconsider other datatypes when calculation time rises in the future. so far it's only 0.2s, so I'm ok with BigInteger