Commit Graph

72 Commits

Author SHA1 Message Date
Kienan Stewart 89461b9866 Add aoc 2022 day 15 2022-12-15 16:49:39 -05:00
Kienan Stewart e55389d3bb Add aoc 2022 day 14 2022-12-14 10:20:29 -05:00
Kienan Stewart 7206513181 Add AOC 2022 day 13 2022-12-13 15:01:52 -05:00
Kienan Stewart 8294d2df32 Add 2022 day 12 2022-12-12 12:46:36 -05:00
Kienan Stewart 331e08d8de Add 2022 day 11 2022-12-11 12:06:13 -05:00
Kienan Stewart 59139d65d6 AOC 2022 day 10 2022-12-10 09:12:22 -05:00
Kienan Stewart e79611a922 Add 2022 day 9 2022-12-09 12:17:30 -05:00
Kienan Stewart 5c99510c25 Add day 8 2022-12-08 11:31:08 -05:00
Kienan Stewart 11fe32c81e Add aoc 2022 day 7 2022-12-07 10:43:07 -05:00
Kienan Stewart 92c3047a5e Add 2022 day 6 2022-12-06 08:19:37 -05:00
Kienan Stewart 009bd54c79 Add 2022 day 5 2022-12-05 09:12:45 -05:00
Kienan Stewart 59a074db50 Add 2022 day 4 2022-12-04 09:09:43 -05:00
Kienan Stewart 793848ed96 Add aoc 2022 day 3 2022-12-03 19:21:46 -05:00
Kienan Stewart e491200ef1 Finish AOC 2022 day 2 2022-12-02 10:24:50 -05:00
Kienan Stewart d506870214 Add 2022 day 1 2022-12-01 11:42:06 -05:00
Kienan Stewart 539d8c5c5f Move 2021 to it's own directory 2022-05-16 23:32:12 -04:00
Kienan Stewart 255a90bd07 Merge remote-tracking branch '2021/main' 2022-05-16 23:31:22 -04:00
Kienan Stewart 8b34ab89e0 Move 2020 to it's own directory 2022-05-16 23:30:37 -04:00
Kienan Stewart 834924850b Merge remote-tracking branch '2020/master' 2022-05-16 23:29:03 -04:00
Kienan Stewart a3868f78b9 Move 2019 to it's own directory 2022-05-16 23:27:51 -04:00
Kienan Stewart c27c60ce9a Merge remote-tracking branch '2019/main' 2022-05-16 23:26:11 -04:00
Kienan Stewart 5f4f7def86 Move 2018 to it's own directory 2022-05-16 23:24:53 -04:00
Kienan Stewart 2e1614a5dc Merge remote-tracking branch '2018/master' 2022-05-16 23:23:43 -04:00
Kienan Stewart 579a569c6e Initial commit 2022-05-16 23:22:49 -04:00
Kienan Stewart 7954983ce7 Day 9 2022-05-15 14:41:35 -04:00
Kienan Stewart 8a6d684287 Fix relative mode parameters for destination parameters of multiple operations 2022-05-15 14:39:33 -04:00
Kienan Stewart 261b67afbb Fix support for relative mode addressing in input 2022-05-15 14:23:19 -04:00
Kienan Stewart 25cd57559e Implement "boosted" Int-code computer
* Support for 64bit integer values and non-continguous memory regions
* Add support for relative mode parameters
* New opcode to adjust relative mode base value
* Legacy 32bit integer API is preserved via simulate()
2022-05-15 14:03:01 -04:00
Kienan Stewart 065d2d8192 Add day 8 2022-05-15 10:39:26 -04:00
Kienan Stewart 571c0c2511 Day 7 2022-05-15 07:38:18 -04:00
Kienan Stewart 9411a5231d Major version for int-code computer
* Programs may start at non-zero instructions
 * Input uses mutable VecDeques and consumes values as they are encountered
 * Output uses a mutable vector, and multiple outputs will be pushed on it
 * If no value is present in the input queue, the program blocks on input
 returning the status Status::WaitingForInput and the instruction to resume
 the program from.
2022-05-15 07:35:41 -04:00
Kienan Stewart f3832e6d88 Move intcode computer to separate crate 2022-05-10 07:04:24 -04:00
Kienan Stewart 163547667c Day 6 2022-05-08 22:40:05 -04:00
Kienan Stewart a06f330d2c Uncomitted attempts 2022-03-09 15:36:18 -05:00
Kienan Stewart d819523b3c Day 13 2021-12-13 09:49:35 -05:00
Kienan Stewart 72c23c19f2 Day 11 2021-12-11 11:26:18 -05:00
Kienan Stewart 5b8558cac3 Day 10 2021-12-11 10:13:37 -05:00
Kienan Stewart eaa958fbbf Day 9 2021-12-10 10:06:07 -05:00
Kienan Stewart da6c5f8187 Day 5 2021-12-07 18:42:30 -05:00
Kienan Stewart 8112d51004 Day 7 2021-12-07 15:56:52 -05:00
Kienan Stewart 7ad7138e93 Day 4 2021-12-06 22:35:42 -05:00
Kienan Stewart b9d6d9ad9c Day 3 2021-12-06 20:54:37 -05:00
Kienan Stewart 1db33f5a9f Day 6 2021-12-06 08:58:45 -05:00
Kienan Stewart 176bef0c0c Day 2 2021-12-05 14:38:52 -05:00
Kienan Stewart 59a0dd88c0 Day 5 2021-12-05 09:19:12 -05:00
Kienan Stewart 03ebc5a5cf Benchmark rebuilds on day 1 2021-12-04 22:32:20 -05:00
Kienan Stewart 9adba5e034 Add benchmark for day 1 2021-12-04 22:23:18 -05:00
Kienan Stewart fdc4238e8d Add zig implementation of day 1 2021-12-04 22:08:15 -05:00
Kienan Stewart 034e1907a5 Day 1 2021-12-04 21:56:42 -05:00
Kienan Stewart 939f9a4bd7 Day 4 2021-12-04 09:36:59 -05:00