100 Commits
Author SHA1 Message Date
chrisly42 cda0dccc65 Day 12. Argh. 2025-12-15 21:29:08 +01:00
chrisly42 5e031c27cc WiP 2025-12-15 09:55:01 +01:00
chrisly42 de3b0795e3 Intermediate commit before I break stuff. 2025-12-11 15:30:13 +01:00
chrisly42 2190f9e1ac No need to have two different recursion functions for Day 11. Tidied up. 2025-12-11 08:00:08 +01:00
chrisly42 0192b33570 Day 10 still not working, but math will save me. 2025-12-11 07:25:11 +01:00
chrisly42 a69be406b1 Day 11. 2025-12-11 07:24:13 +01:00
chrisly42 7495f9e378 Still non-working part 2. But I have an idea. 2025-12-10 21:43:08 +01:00
chrisly42 ccc3fdad4c Restored deleted code from previous commit and used it to solve Part 1 much faster. 2025-12-10 18:44:40 +01:00
chrisly42 bd591263f6 Still not working, but stuff removed that was wrong. 2025-12-10 17:02:28 +01:00
chrisly42 4982f2cb3c Non working solution before I re-read the instructions regarding the light diagrams to be ignored for part 2. 2025-12-10 16:54:58 +01:00
chrisly42 6299b10b85 Day 10. Part 2 doesn't terminate in time and space yet. 2025-12-10 07:44:08 +01:00
chrisly42 d2044f2d6a Day 9. Removed all smart code. 2025-12-09 08:36:22 +01:00
chrisly42 9a2a22805b Day 9. Tried to be smart, that was a failure. 2025-12-09 08:34:40 +01:00
chrisly42 909fb5c7d2 Day 8: Use long for result of part 2. X coords are > 16 bit. That it didn't overflow was pure chance. 2025-12-08 07:07:39 +01:00
chrisly42 52af74ecd5 Day 8: Use priority queue. 2025-12-08 07:04:34 +01:00
chrisly42 7a58627132 Day 8. 2025-12-08 06:58:11 +01:00
chrisly42 5fc0e8756a Day 7 :( 2025-12-07 07:41:53 +01:00
chrisly42 2b3549c84c Day 6. 2025-12-06 06:46:07 +01:00
chrisly42 128ffbb10f English... 2025-12-06 06:46:02 +01:00
chrisly42 f51f87736b Minor tweaking of Day 5. 2025-12-05 06:27:46 +01:00
chrisly42 c82509468a Day 5. 2025-12-05 06:21:02 +01:00
chrisly42 732c69df0e Day 4. 2025-12-04 06:41:19 +01:00
chrisly42 1f323bcc82 Restored missing empty line. 2025-12-03 06:48:13 +01:00
chrisly42 17c6a9baac Day 3. 2025-12-03 06:47:11 +01:00
chrisly42 ab5fd24260 Modified Downloader to wait until the time is right before attempting to download today's puzzle. 2025-12-02 23:01:42 +01:00
chrisly42 f399fcdea7 Day 2. 2025-12-02 07:04:09 +01:00
chrisly42 9a0b4af4ac Day 1. 2025-12-01 07:14:42 +01:00
chrisly42 79360efdf4 Prepare for 2025. 2025-11-28 10:50:07 +01:00
chrisly42 d49d3614c7 AoC 2015, day 6. 2024-12-25 12:07:21 +01:00
chrisly42 1a303d9632 Day 25. 2024-12-25 06:47:45 +01:00
chrisly42 e7d733846f Day 24. Solution earlier than working algorithm that does not require manual steps. 2024-12-24 14:23:31 +01:00
chrisly42 e00e002cd6 Bitset is even faster (<1 sec). 2024-12-23 16:31:11 +01:00
chrisly42 0d5809398c Revisited Day 22 for faster algorithm 2024-12-23 16:26:07 +01:00
chrisly42 277bc6cc8e Day 23. 2024-12-23 07:45:35 +01:00
chrisly42 e222975b2a Day 22 kotliniziation for more concise code. 2024-12-22 18:58:31 +01:00
chrisly42 343414cd04 Refresher on Coroutines for maximum parallel brute force for Day 22. 2024-12-22 18:42:55 +01:00
chrisly42 bc542bd29c Updated some dependencies. 2024-12-22 07:28:57 +01:00
chrisly42 0cb180ddf3 Day 22. 2024-12-22 07:03:10 +01:00
chrisly42 f494b763cf Day 21 :-( 2024-12-21 12:26:08 +01:00
chrisly42 aa0f1dad74 Day 20. 2024-12-20 07:19:34 +01:00
chrisly42 9047a97185 Day 19. 2024-12-19 06:29:19 +01:00
chrisly42 1b2332a49e Day 18. 2024-12-18 07:05:44 +01:00
chrisly42 b0e4461a7d Day 17. 2024-12-17 09:35:23 +01:00
chrisly42 76c01e01e5 Day 16. 2024-12-16 07:18:41 +01:00
chrisly42 3ee70151f1 Day 15. 2024-12-15 07:33:07 +01:00
chrisly42 0592f4a862 Day 14. 2024-12-14 07:06:53 +01:00
chrisly42 0d6bf1ca43 Day 13. Wrong bet on dynamic programming for part 1. 2024-12-13 19:47:41 +01:00
chrisly42 9e7ac0057b Even more obfuscation. 2024-12-12 21:42:19 +01:00
chrisly42 90cf5a8335 Day 12 finally. I hate you. 2024-12-12 21:37:24 +01:00
chrisly42 9a8b316122 Day 12 Part 2 not correct. 2024-12-12 08:12:56 +01:00
chrisly42 778b38b3a4 Minor kotlinization :) 2024-12-11 07:56:01 +01:00
chrisly42 34c0c213c4 Day 11. 2024-12-11 07:17:31 +01:00
chrisly42 3d17ed29c7 Unused variable. 2024-12-10 18:19:32 +01:00
chrisly42 abb0225d06 Day 10. 2024-12-10 06:26:53 +01:00
chrisly42 89b897b2c1 Day 9. 2024-12-09 06:56:54 +01:00
chrisly42 26661cbfd8 Minor fixes to readme and user agent. 2024-12-08 13:07:05 +01:00
chrisly42 8cdfdda1f4 Removed all puzzle descriptions, replaced by a link. Not deleting history though: People who want to get the descriptions will do so anyhow. 2024-12-08 12:55:07 +01:00
chrisly42 0876e5c92c Refactored CharGrid class to use a generator instead of two for-loops. Deprecated old API. 2024-12-08 08:05:40 +01:00
chrisly42 9d61ce1bc4 Day 8. Could have been faster if I think first. 2024-12-08 07:14:18 +01:00
chrisly42 15ce1ad06e Day 7 Part 2 best brute force optimization without using dynamic programming. 2024-12-07 07:20:08 +01:00
chrisly42 8d492486fb Day 7 Part 2 optimized to 666ms (instead of around 3000ms). 2024-12-07 07:13:32 +01:00
chrisly42 ea9f44a12c Day 7 (unoptimized) 2024-12-07 06:53:50 +01:00
chrisly42 3cc10ea7c3 Day 6, can't seem to get part 2 working :-( 2024-12-06 07:41:33 +01:00
chrisly42 a14958b8a6 Day 5, total failure, mainly due to testInput containing extra lines without me noticing. Stopping this madness once and for all. 2024-12-05 07:24:35 +01:00
chrisly42 4bf79c0e89 Added some utility functions to CharGrid. 2024-12-04 06:38:33 +01:00
chrisly42 77618b3534 Day 4. CharGrid class could need some improvements. 2024-12-04 06:20:45 +01:00
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