Commit graph

46 commits

Author SHA1 Message Date
Antoine Martin aaaaadd901 2019: day14: finish 2019-12-15 01:28:14 +01:00
Antoine Martin 03d248cf9c 2019: day13: finish 2019-12-14 00:51:44 +01:00
Antoine Martin 9f77b90f81 2019: day12: part 2 2019-12-12 16:46:34 +01:00
Antoine Martin f0a9da6065 2019: day12: part 1 2019-12-12 15:10:47 +01:00
Antoine Martin 3ea1ca4ec5 2019: day07: simplify part2 logic 2019-12-12 13:44:33 +01:00
Antoine Martin 4e1fecf3ee 2019: day11: finish 2019-12-11 23:58:25 +01:00
Antoine Martin bbbde2836d 2019: day10: part 1 2019-12-10 18:36:53 +01:00
Antoine Martin d02364731d 2019: intcode: rename method to get last output 2019-12-09 16:42:54 +01:00
Antoine Martin 83fa28b21d 2019: day08: fix clippy lints 2019-12-09 16:34:48 +01:00
Antoine Martin 56adb541a0 2019: day09: finish 2019-12-09 16:27:06 +01:00
Antoine Martin 088f203f61 2019: intcode: prepare for day09
- Implement opcode 9
 - Support infinite memory
2019-12-09 16:25:17 +01:00
Antoine Martin 21b9b2d18f 2019: day08: finish 2019-12-08 17:12:26 +01:00
Antoine Martin c7a1ecf280 2019: da04: fix clippy lints 2019-12-08 15:56:08 +01:00
Antoine Martin 83e99215fb 2019: day07: part 2 2019-12-07 23:04:50 +01:00
Antoine Martin 27f6a072da 2019: day07: part 1 2019-12-07 21:32:06 +01:00
Antoine Martin 72444351a8 2019: intcode: split to own module 2019-12-07 18:21:36 +01:00
Antoine Martin e468ec2952 2019: day05: allow intcode creation with memory 2019-12-07 17:43:15 +01:00
Antoine Martin d44dca92a0 2019: day05: allow for multiple inputs 2019-12-07 17:37:53 +01:00
Antoine Martin 5246fce2ef 2019: day05: refactor intcode 2019-12-07 17:22:52 +01:00
Antoine Martin d621d80bac 2019: day04: parse input once 2019-12-07 02:15:21 +01:00
Antoine Martin 3fd8cd924d 2019: day04: improve performance
Reuse allocated memory for digits
2019-12-07 02:14:51 +01:00
Antoine Martin 6f26cf5860 2019: day06: fix clippy lints 2019-12-07 00:31:10 +01:00
Antoine Martin 3a6e9d58b6 2019: day03: 100x speedup 2019-12-07 00:29:42 +01:00
Antoine Martin 989fc854d9 2019: day03: parse input only once 2019-12-06 19:47:25 +01:00
Antoine Martin 4bff689da0 aoc: stop printing inside run functions
This will make benching implementations easier
2019-12-06 19:06:49 +01:00
Antoine Martin 6f06d5d7ca 2019: day06: use a HashSet instead 2019-12-06 12:00:37 +01:00
Antoine Martin 0fa59d675b 2019: day06: part 2 2019-12-06 11:45:15 +01:00
Antoine Martin 1f364cd20f 2019: day06: part 1 2019-12-06 11:44:45 +01:00
Antoine Martin fb0bb469ee fix clippy lints 2019-12-05 16:35:39 +01:00
Antoine Martin 6202a3b1fd 2019: day05: part 2 2019-12-05 16:12:50 +01:00
Antoine Martin 6e1c3c989f 2019: day05: part 1 2019-12-05 15:45:19 +01:00
Antoine Martin f0f872c199 2019: day04: part 2 2019-12-04 23:40:12 +01:00
Antoine Martin 69000f9254 2019: day04: part 1 2019-12-04 23:18:01 +01:00
Antoine Martin a81ad7c114 2019: day03: part 2 2019-12-03 10:45:37 +01:00
Antoine Martin a4f54fec18 2019: day03: refacto part 1 2019-12-03 10:22:56 +01:00
Antoine Martin 0662208914 2019: day03: part 1 2019-12-03 09:52:39 +01:00
Antoine Martin 5bee7a0ce7 aoc: refactor main() function 2019-12-02 17:01:10 +01:00
Antoine Martin c4d9f6c2db 2019: removed unused types from lib.rs 2019-12-02 17:00:56 +01:00
Antoine Martin 9b27a57f0b 2019: day02: part 2 2019-12-02 12:14:40 +01:00
Antoine Martin c59cd75be3 2019: day02: part 1 2019-12-02 12:05:30 +01:00
Antoine Martin 9903508129 don't panic in main 2019-12-02 11:48:24 +01:00
Antoine Martin 64410f0042 use aoc crate for common stuff 2019-12-01 22:22:12 +01:00
Antoine Martin 907e883d48 fix err! macro 2019-12-01 21:25:43 +01:00
Antoine Martin dd4e610324 2019: day01: improve sub overflow handling 2019-12-01 16:36:46 +01:00
Antoine Martin 5e2fb25c94 2019: day01: part 2 2019-12-01 16:21:53 +01:00
Antoine Martin 22fcfdae4f 2019: day01: part 1 2019-12-01 16:03:34 +01:00