Antoine Martin
aa6fb34f44
2022: day03
2022-12-06 17:56:14 +01:00
Antoine Martin
5e6ffb470e
2022: bench day02
2022-12-06 16:17:40 +01:00
Antoine Martin
c1f352162c
2022: day02
2022-12-06 16:17:37 +01:00
Antoine Martin
6c64f744f7
ci: update checkout to v3
2022-12-06 01:24:19 +01:00
Antoine Martin
008fb72a98
all: fix clippy lints for rust 1.65
2022-12-06 01:24:19 +01:00
Antoine Martin
1d9433098d
flake: bump to latest rust version (1.65)
2022-12-06 00:41:56 +01:00
Antoine Martin
ed66012752
2022: bench: criterion 0.4
2022-12-06 00:02:21 +01:00
Antoine Martin
2ca6bce781
2022: day01 part 2
2022-12-05 23:28:51 +01:00
Antoine Martin
a25dc5beae
bump Cargo.lock
2022-12-05 23:08:19 +01:00
Antoine Martin
8e1328571b
2021: bump bitvec to 1.0
2022-12-05 23:04:07 +01:00
Antoine Martin
f3f3b40d47
2022: day 01 part 1
2022-12-05 22:57:19 +01:00
Antoine Martin
a5fd485c10
2021: day21: part 2
2021-12-21 14:47:28 +01:00
Antoine Martin
c92553fa40
2021: day21: part 1
2021-12-21 14:20:52 +01:00
Antoine Martin
5ffa2012be
cargo: bump lock
2021-12-17 18:53:15 +01:00
Antoine Martin
7a8b7c994e
2021: day17: improvement ideas
2021-12-17 18:53:15 +01:00
Antoine Martin
2bc1b97c2d
2021: day17: better bounds for part 1
2021-12-17 18:39:49 +01:00
Antoine Martin
551f57f7ff
2021: day17: bench
2021-12-17 18:37:36 +01:00
Antoine Martin
ba06e006b9
2021: day17: part 2
2021-12-17 18:32:18 +01:00
Antoine Martin
026470220b
2021: day17: part 1
2021-12-17 18:22:38 +01:00
Antoine Martin
0446f11a46
2020: bump nom version
...
I was getting a compilation error (something in the latest Rust
compiler?), related to a nom dependency (bitvec v0.19), but nom 7 does
not depend on bitvec by default anymore, yay!
The move + clone closures feel kind of wrong though
2021-12-17 14:12:35 +01:00
Antoine Martin
4f36262761
2021: day16: bench
2021-12-16 18:01:56 +01:00
Antoine Martin
c42041017d
2021: day16: part 2
2021-12-16 17:53:06 +01:00
Antoine Martin
78f059b65c
2021: day16: part 1
2021-12-16 17:32:08 +01:00
Antoine Martin
025374e685
2021: day16: part 1: parse litterals
2021-12-16 15:55:32 +01:00
Antoine Martin
95d955f506
2021: day15: bench
2021-12-16 01:53:58 +01:00
Antoine Martin
0acae295da
2021: day15: part 2
2021-12-16 01:52:47 +01:00
Antoine Martin
d204e46890
2021: day15: part 1
2021-12-16 01:31:44 +01:00
Antoine Martin
1fb0be9e89
2021: day14: bench
2021-12-14 15:51:54 +01:00
Antoine Martin
822707939e
2021: day14: part 2
2021-12-14 15:51:54 +01:00
Antoine Martin
9d81739f2b
2021: day14: fix stack overflow in part 1
2021-12-14 13:39:48 +01:00
Antoine Martin
218d9d5298
2021: day14: part 1
2021-12-14 13:35:35 +01:00
Antoine Martin
441e41c30c
2021: day12: bench
2021-12-13 14:56:05 +01:00
Antoine Martin
28b84ae865
2021: day12: part 2
2021-12-13 14:37:32 +01:00
Antoine Martin
c439b3a265
2021: day12: part 1
2021-12-13 14:16:03 +01:00
Antoine Martin
d0f3b941ce
2021: day13: bench
2021-12-13 11:59:08 +01:00
Antoine Martin
b8e2bbf2f3
2021: day13: part 1 & 2
2021-12-13 11:58:29 +01:00
Antoine Martin
d515ced9a0
2021: day09: fix neighbour iterator lifetime
2021-12-11 16:09:30 +01:00
Antoine Martin
fc3d23397b
2021: day11: bench
2021-12-11 16:09:30 +01:00
Antoine Martin
1d6ed92b36
2021: day11: part 1 & 2
2021-12-11 16:09:30 +01:00
Antoine Martin
8ddde41f0c
2021: day10: bench
2021-12-10 14:39:49 +01:00
Antoine Martin
7ec783fc16
2021: day10: part 2
2021-12-10 14:39:49 +01:00
Antoine Martin
6c7b3d9cc6
2021: day10: part 1
2021-12-10 14:13:20 +01:00
Antoine Martin
4cf5c2c6b0
2021: day09: bench
2021-12-09 20:03:56 +01:00
Antoine Martin
a30bbaa4e1
2021: day09: part 2
2021-12-09 20:03:48 +01:00
Antoine Martin
6eb8041362
2021: day09: part 1
2021-12-09 19:39:35 +01:00
Antoine Martin
b5c4b72864
2021: day08: only store "hard" digits in mapping
2021-12-08 20:04:45 +01:00
Antoine Martin
b5c79e9b1c
2021: day08: bench
2021-12-08 19:45:40 +01:00
Antoine Martin
65ddabcf00
2021: day08: part 2
2021-12-08 19:36:00 +01:00
Antoine Martin
fe5ce3b1a6
2021: day08: part 1
2021-12-08 18:38:06 +01:00
Antoine Martin
64ee9796ba
2021: day07: use binary search for part 2
2021-12-07 15:51:21 +01:00