Commit graph

29 commits

Author SHA1 Message Date
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 0c98050bc0 2019: add benchmarks 2019-12-06 19:07:57 +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