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
Kienan Stewart
2e39d0827f
Day 3
2021-12-03 16:03:51 -05:00
Kienan Stewart
794cc70d60
Tweak day 1 code structure
2021-12-02 22:11:06 -05:00
Kienan Stewart
859699bcd0
Finish day 2
2021-12-02 22:10:34 -05:00
Kienan Stewart
5499514ab0
Initial commit: Day 1
2021-12-02 21:53:50 -05:00
Kienan Stewart
92741e6d53
Finish day 18
2020-12-19 13:14:09 -05:00
Kienan Stewart
0383ace2e3
First half of day 18
2020-12-18 03:59:05 -05:00
Kienan Stewart
b28fd56a8a
Finish day 17
2020-12-17 03:09:43 -05:00
Kienan Stewart
dcc4dfce6a
Finish day 16
2020-12-16 03:35:44 -05:00
Kienan Stewart
a546f1ae80
Finish day 15
2020-12-15 01:10:11 -05:00
Kienan Stewart
d39285ca0f
Finish day 14
2020-12-14 03:27:59 -05:00
Kienan Stewart
0035850050
Finish day 13
2020-12-13 20:57:27 -05:00
Kienan Stewart
3f063f931c
Finish day 12
2020-12-13 14:48:37 -05:00
Kienan Stewart
082af016ab
Finish day 11
2020-12-13 12:54:00 -05:00
Kienan Stewart
2bd4568cd8
finish day 10
2020-12-12 11:12:13 -05:00
Kienan Stewart
ebbc0931b7
Finish day 9
2020-12-11 21:23:16 -05:00