Commit Graph

52 Commits

Author SHA1 Message Date
David bec29a111c simplify somewhat 2021-12-27 12:42:02 -07:00
David b2ff2ac24c day 25 done 2021-12-27 12:30:38 -07:00
David 4a9afc8de6 day 22 part 1 is tractable; part 2 is going to need a rethink 2021-12-23 20:31:40 -07:00
David 711badad96 21 part 1 2021-12-23 18:58:54 -07:00
David 7c8ee5edcd day 20 part 2 2021-12-23 17:44:25 -07:00
David e13255ab2f day 20 day one 2021-12-23 17:42:50 -07:00
David cc7256461e further noodling on day 18 2021-12-23 09:52:58 -07:00
David 917be0d8f1 most of day 18, just missing the explode logic 2021-12-22 21:22:13 -07:00
David 3340be88a1 lol, day 17 is just spamming every possible arc 2021-12-22 19:36:51 -07:00
David d1c2f5eb90 tests all pass, but I'm parsing the real input tree slightly wrong 2021-12-20 19:02:26 -05:00
David 374dd4a9b7 fix test 2021-12-20 18:45:35 -05:00
David 41c58fa100 remove unnecessary int64 casting 2021-12-20 18:45:10 -05:00
David 6ffa3b6dd4 remove println 2021-12-20 18:43:14 -05:00
David 562fc231a4 remove unnecessary slice boxing 2021-12-20 18:42:36 -05:00
David 44c8a7659d day 16 part one finally 2021-12-20 17:52:18 -05:00
David 0f07ffcc00 day 15 part 1 works. part 2 works on the sample, not the real input. 2021-12-15 22:11:02 -05:00
David e165726833 remove extra function 2021-12-14 10:12:10 -05:00
David 3f7f533592 add missing comment 2021-12-14 10:11:06 -05:00
David 0ce04d208b day 14 2021-12-14 10:09:05 -05:00
David daf897cea2 document interables 2021-12-13 20:12:13 -05:00
David 6b1552d65e don't actually need to do the maxx/maxy check 2021-12-13 19:10:53 -05:00
David 6b2abb3ebc day 13 2021-12-13 19:02:42 -05:00
David c09e706d42 empty struct instead of bool for better memory usage 2021-12-12 13:29:41 -05:00
David 137cfd379b don't need the top-level waitgroup 2021-12-12 13:07:36 -05:00
David c2a087abf7 memorize the double-room check on day two 2021-12-12 13:05:45 -05:00
David 6fe9d251bd day 12 2021-12-12 13:03:33 -05:00
David 349e2a8f19 day 11 2021-12-11 13:25:27 -05:00
David 0a19c487cc day 10 2021-12-10 14:53:17 -05:00
David 5f9c19bf47 day 9 finally done, ugly but functional 2021-12-09 21:13:24 -05:00
David 214c505d8c day 8 2021-12-08 10:13:49 -05:00
David 8e68234caa day 7 in the books 2021-12-07 09:19:13 -05:00
David 55383aeedf day six is done 2021-12-06 09:45:29 -05:00
David fb73d56bd5 fix logic bug in new input curl 2021-12-06 09:22:08 -05:00
David 056ac16cf1 inline grid field to type alias 2021-12-05 14:46:48 -05:00
David d2699dfd24 use a single slice instead of two 2021-12-05 14:45:08 -05:00
David 019b87c43c speed up day 5 with preallocated slices, not a map 2021-12-05 13:24:59 -05:00
David c5dbac0e9c don't run curl if file exists 2021-12-05 12:41:14 -05:00
David 9136ba20af day 5 in the books 2021-12-05 10:34:14 -05:00
David 47ac68b261 clean up day 4 a little 2021-12-04 13:07:25 -05:00
David 77170d40b9 day 4 in the books 2021-12-04 10:38:03 -05:00
David 9bccec439e correct comment 2021-12-04 09:21:15 -05:00
David 0f3f6f2875 only check bitlen once 2021-12-03 19:08:25 -05:00
David f6abc0c6e1 remove special-case initial loop nonsense 2021-12-03 19:07:11 -05:00
David b6f7a57580 clean up the increment logic at the bottom 2021-12-03 19:00:32 -05:00
David a1264d825b day 3 part 2 finally done, ugly though 2021-12-03 18:53:09 -05:00
David 91383fc6b0 day 3 part 1 2021-12-03 10:11:54 -05:00
David 4b22135336 day 2 2021-12-02 12:59:40 -05:00
David 0b9bdf682d day one 2021-12-01 09:28:43 -05:00
David 0ebc0e2a7e automatically download inputs when making new folders 2021-11-30 20:10:44 -05:00
David 1385b0d957 finish day-one prep 2021-11-30 19:14:48 -05:00