1
0
Fork 0
mirror of https://github.com/HenkKalkwater/aoc-2020 synced 2024-12-22 08:35:16 +00:00
Commit graph

37 commits

Author SHA1 Message Date
Chris Josten 34c56ba047
Day 17: improve doc, fix Point bug
Accidentily swapped the arguments of opIndexAssign, which caused

auto p = Point!2(1,2)
p[0] = 3;
assert(p.x == 3)

to fail
2020-12-18 01:58:31 +01:00
Chris Josten 1cdbb2f945
Add day 17 part 2
Implemented in an overkill way by compile-time code generation
2020-12-18 01:38:57 +01:00
Chris Josten 38ea587b5b
Added day 17, part 1 2020-12-17 23:50:41 +01:00
Chris Josten 7e096ec120
Added day 16 part 2
After replacing allowedValues[field] with allowedValues[column] and
ticket[column] with ticket[field] on lines 85 and 87, it works. Why? I don't know.
2020-12-16 18:21:59 +01:00
Chris Josten eeff1bb041
Day 16, part 1 2020-12-16 15:12:54 +01:00
Chris Josten eae7eb7a24
Add day 15 parts 1 and 2 2020-12-15 07:36:42 +01:00
Chris Josten d02f0ce415
Add day 14 part 2 after fighting with longs and bishifting 2020-12-14 08:42:21 +01:00
Chris Josten 8a5bbcefdc
Add day 14 part 1 2020-12-14 07:04:16 +01:00
Chris Josten 0ae8e76553
Day 13, part 2 2020-12-14 03:12:15 +01:00
Chris Josten f013067d26
Brute forcing does not work 2020-12-13 21:41:28 +01:00
Chris Josten fb9815b6ec
Add day 13, part 1 2020-12-13 11:39:50 +01:00
Chris Josten 2b2ecdc26b
Day 12, part 1 2020-12-12 12:15:24 +01:00
Chris Josten da60757f0e
Add day 11 2020-12-11 08:29:43 +01:00
Chris Josten ddbdb8e69d
Added day 10, part 2 2020-12-10 10:51:21 +01:00
Chris Josten f728b02ad6
Day 10 part 1 2020-12-10 09:58:18 +01:00
Chris Josten 4902daebaf
Improve framework 2020-12-10 09:37:13 +01:00
Chris Josten 404605b092
Added day 9 part 2 2020-12-09 16:38:42 +01:00
Chris Josten 3e2632b2af
Add day 9 part 1 and automatically open file for day 2020-12-09 15:48:02 +01:00
Chris Josten 53c5a606ee
Remove writeln 2020-12-09 15:47:31 +01:00
Chris Josten c138d30ea1
Added day 8 2020-12-08 06:38:59 +01:00
Chris Josten a321a1a7b4
Added day 7 2020-12-07 08:03:29 +01:00
Chris Josten 4f17dbae8e
Add some support for bigboy versions of exercises 2020-12-07 06:05:35 +01:00
Chris Josten 4c20c39d74
Added day 6 2020-12-06 11:49:20 +01:00
Chris Josten 9161a33154
Allow reading input from other files than stdin 2020-12-05 13:03:47 +01:00
Chris Josten 8ca791d3d0
Add day 5, part 2 2020-12-05 12:49:58 +01:00
Chris Josten 73aac14025
Added day5 and brought more structure into days 2020-12-05 12:16:58 +01:00
Chris Josten 2b14c8d6f6
Add day 4 part 2 2020-12-05 04:42:53 +01:00
Chris Josten d32366790b
Add day 4 part 1 2020-12-05 03:57:30 +01:00
Chris Josten 2072fc3ed8
Day 3, part 2 2020-12-04 10:32:34 +01:00
Chris Josten 52629702c8
Day 3, part 1 2020-12-03 10:50:55 +01:00
Chris Josten b21ca2df4a
Add README 2020-12-03 09:30:02 +01:00
Chris Josten beb7b447e9
Added day 2 part 2 2020-12-02 18:22:20 +01:00
Chris Josten a29b28b303
Day 2, puzzle 1 2020-12-02 17:53:43 +01:00
Chris Josten f6a49daaf9
Make code more reusable 2020-12-01 15:48:42 +01:00
Chris Josten c6f7df0bf3
Added day 1 2020-12-01 12:28:18 +01:00
Chris Josten 51afb9d03e
Secontial commit 2020-11-30 15:22:15 +01:00
Chris Josten be0addb088
Initial commit 2020-11-30 15:15:56 +01:00