Commit Graph
50 Commits
Author SHA1 Message Date
chrisly42 7695a005c9 Day 3, meh for having multiple lines of input and meh for having two different inputs and meh for being lazy. 2024-12-03 06:23:12 +01:00
chrisly42 79797d8ea2 Day 2, slept in :-( 2024-12-02 06:52:19 +01:00
chrisly42 8f879f456e 2024: Day 1 (yawn!) 2024-12-01 06:13:35 +01:00
chrisly42 6b27f3741d Was bored, so started to do 2015. 2023-12-28 20:01:40 +01:00
chrisly42 73164a0ee3 Unlike other people, I don't have a ready set of graph algorithms ready, so I tried a bit to implement Karger, before I went back and simply added -Kneato to my dot graph output and then the edges to cut became very clearly visible. I could have saved a couple of hours. 2023-12-25 08:10:42 +01:00
chrisly42 0acad0121c Day 24. This was a mad thing. I hate you all for using term solving tools under python. Thanks to the other kotlin guy who went the chinese remainder path and give a good amount of inspiration (strangely, the test input fails). I was thinking that some sort of modulo arithmetic could solve it, but it was too hard to figure out. What a waste of an otherwise nice xmas day. 2023-12-24 14:50:09 +01:00
chrisly42 6b904bb42c Minor optimization on speed for day 23. 2023-12-23 12:40:51 +01:00
chrisly42 12d2e88da1 Day 23. 2023-12-23 11:37:51 +01:00
chrisly42 50a8574a10 Part 1 at least. 2023-12-22 07:36:39 +01:00
chrisly42 8f1e9e238e Oh no, no time! 2023-12-22 07:10:20 +01:00
chrisly42 4d1948a068 Day 21 part 1, no definite clue how to solve part 2 right now. 2023-12-21 06:47:16 +01:00
chrisly42 04dc4d6ba9 Day 20 unfinished, going to work. 2023-12-20 07:04:40 +01:00
chrisly42 1f9f6a69ea Day 19 Part 1. Need to go to work. 2023-12-19 07:43:21 +01:00
chrisly42 e35a97b62d Day 18. I dunno why the formular needed patching though. 2023-12-18 06:59:55 +01:00
chrisly42 095bbd4bc7 Day 17. What a mess. 2023-12-17 13:17:45 +01:00
chrisly42 3a8a2d79a9 Minor update to Day 15 because I should have used a linked hashmap in the first place, if I had only read the instructions clearly enough. 2023-12-16 13:19:03 +01:00
chrisly42 6eb93c51a3 Day 16. 2023-12-16 12:07:22 +01:00
chrisly42 d1d022f208 AoC is, after all, a reading compo :-( 2023-12-15 06:41:40 +01:00
chrisly42 3586f49f91 Damn you, Day 13. 2023-12-14 21:58:42 +01:00
chrisly42 226e61a203 Day 14. 2023-12-14 07:19:50 +01:00
chrisly42 3b1410e2fd No time for day 13. 2023-12-13 06:55:05 +01:00
chrisly42 9ececeeb43 Day 12 :-/ 2023-12-12 20:34:54 +01:00
chrisly42 ee3629989b Giving up on day 12. 2023-12-12 07:17:31 +01:00
chrisly42 834d170921 Day 11. 2023-12-11 06:32:51 +01:00
chrisly42 b98653f2b9 Slept in, didn't hurry to finish Day 10. Considering the solution elegant regarding the traversal of the pipes. 2023-12-10 11:31:09 +01:00
chrisly42 56fcbfe165 Better properties handling. 2023-12-09 11:47:09 +01:00
chrisly42 fb3a5ce5d2 Added overdue helper functions splitInts() and splitLongs() 2023-12-09 09:20:47 +01:00
chrisly42 837e5827f4 removed dead code. 2023-12-09 08:28:08 +01:00
chrisly42 3c4b32fc78 Found some math code in my hackerrank repository that might become useful. 2023-12-09 07:53:00 +01:00
chrisly42 4c922f356d Day 8 revisited: Replaced manual prime factorization by new gcd and lcm toolset. 2023-12-09 06:51:10 +01:00
chrisly42 f026dfb6de Day 9. 2023-12-09 06:23:49 +01:00
chrisly42 9d314599e4 Day 8. 2023-12-08 06:40:24 +01:00
chrisly42 ba3d677880 Day 7 :-( 2023-12-07 09:27:50 +01:00
chrisly42 3a6545c934 Day 6 :-( 2023-12-06 06:41:39 +01:00
chrisly42 ac0c0015d3 Giving up on Day 5. 2023-12-05 08:13:37 +01:00
chrisly42 1aac27e384 Day 4: Lesson learned: Don't make bugs, use pen and paper first. 2023-12-04 07:17:47 +01:00
chrisly42 afcfed70d7 Reworked day 3, adding a generic class for 2D grids with some special functions for day 3. Modified template to avoid double evaluation. 2023-12-03 15:21:59 +01:00
chrisly42 077fbe6e21 Day 3 and I am beginning to hate this. 2023-12-03 07:12:48 +01:00
chrisly42 15d5e2ade8 Day 2: Revisited reg ex parsing, but it really turned out to be too complicated for me. Simplified part 1 a little. 2023-12-02 07:42:10 +01:00
chrisly42 db8acdd483 Day 2. Spent too much time on input parsing. 2023-12-02 06:29:27 +01:00
chrisly42 d7ac6a2506 Improved solution to day 1. 2023-12-01 19:06:02 +01:00
chrisly42 99a47fdf75 Day 1 of 2023. 2023-12-01 06:38:13 +01:00
chrisly42 52b1eed88f Day 8 of 2022 (finally). 2023-11-29 18:05:26 +01:00
chrisly42 be51de621d Day 7 of 2022. 2023-11-25 22:34:05 +01:00
chrisly42 7763c5a62d Day 6 of 2022. 2023-11-25 18:05:09 +01:00
chrisly42 adbc09f996 Day 5 of 2022. 2023-11-25 15:10:28 +01:00
chrisly42 69524db226 Updated readme. 2023-11-25 13:03:47 +01:00
chrisly42 43cbc17f74 Added a downloader and template generator, new template and retrofitted the old days, adding solution to day 4. 2023-11-25 12:30:33 +01:00
chrisly42 898c887dc4 Added testinputs. 2023-11-22 06:35:35 +01:00
chrisly42 4c4886c1ec Solved Day02 and Day03 of 2022. 2023-11-22 06:34:49 +01:00