87 Commits
Author SHA1 Message Date
kees d148cf5722 2025(09): kijk, Olaf; het past op één regel 2025-12-09 21:20:05 +01:00
kees 686c8b08eb 2025(09): pull part 1
We hebben er teringveel zin in.
2025-12-09 20:57:37 +01:00
kees e711bc9bff 2025(08): part 2 tering done 2025-12-09 20:54:04 +01:00
kees a3e148f9ba 2025(08): solve part 1 (it's not quick)
CPU times: user 3.14 s, sys: 0 ns, total: 3.14 s
Wall time: 3.15 s
2025-12-09 20:11:52 +01:00
kees 76e962969d 2025(08): I misread the assignment, I think 2025-12-09 19:46:36 +01:00
kees f648a40dd6 2025(07): inspired by Marit, a new, better function 2025-12-08 08:06:25 +01:00
kees b0c2ab4b94 2025(07): this is recursive death 2025-12-07 14:17:28 +01:00
kees 114aca009a 2025(07): solve part 1 2025-12-07 11:30:44 +01:00
kees e5041fc74b 2025(07): pull part 1 2025-12-07 10:48:24 +01:00
kees 00a147462b 2025(06): thanks to loops, things work
2.28 ms ± 347 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)
2025-12-06 18:26:25 +01:00
kees 0fa7e7d6fa 2025(06): solve part 1 without dependencies 2025-12-06 18:07:04 +01:00
kees 819c9bff73 2025(06): pull in part 1 2025-12-06 17:32:58 +01:00
kees 6d1d241bce 2025(05): part 2 be solved 2025-12-05 11:13:41 +01:00
kees e0a607a690 2025(05): part 1 is freshly done 2025-12-05 10:12:34 +01:00
kees aab3e570b3 2025(05): pull in part 1 2025-12-05 09:50:12 +01:00
kees 22dec5e521 2025(04): solve part 2, change to function to what they should have been in 1 2025-12-05 09:43:26 +01:00
kees fe54ab36aa 2025(04): fix part 1
That was harder than it should have been.
2025-12-04 17:58:53 +01:00
kees 5a667ed2f6 2025(04): WIP, I will try to fix it later 2025-12-04 17:18:29 +01:00
kees 06d839fe7e 2025(03): make code a bit better
And clean up part 2 of day 2, add testinput for day 1.
2025-12-03 09:03:02 +01:00
kees 5f102fc380 2025(03): solve puzzle part 2 2025-12-03 08:58:36 +01:00
kees a28fe8271c 2025(03): jolly joltage 2025-12-03 08:18:38 +01:00
kees 14f6ed8f8c 2025(03): pull part 1 of day 3 2025-12-03 07:59:39 +01:00
kees 1e01c9ee38 2025(02): solve part 2
Grafpuzzels zijn het soms.
2025-12-03 07:58:40 +01:00
kees 0a96499f76 2025(02): solve part 1 2025-12-02 08:31:04 +01:00
kees 4529454dff 2025(02): pull part 1 2025-12-02 08:30:11 +01:00
kees b39d54cd5b 2025(01): do part 2
Marit had to help me :D.
2025-12-01 22:10:43 +01:00
kees c99029a6de 2025(01): hopsakaas that works 2025-12-01 22:10:43 +01:00
kees 9b3e63be81 2025(01): create snippet for code 2025-12-01 22:10:43 +01:00
kees a07af7efe9 2025(01): let's start with 2025! 2025-12-01 22:10:43 +01:00
kees ef33a04975 2025(9): fix test, but fail normal on 2025-02-08 18:52:50 +01:00
kees 110c6303b0 2024(9): WIP part2 2025-01-09 19:05:57 +01:00
kees 945d63e8e1 2024(9): part 2 WIP 2025-01-08 16:45:34 +01:00
kees 4a94b3f018 2024(9): solve part 1 and some
Committed on the 8th of January, 2025, so I do not know what I did.
2025-01-08 16:44:57 +01:00
kees 83685c7511 2024(9): solve part 1 2024-12-29 02:40:50 +01:00
kees fae1c15939 2024(9): do part 1 for the test input
IDs can be multidigit, which does not work for me :').
2024-12-29 02:35:30 +01:00
kees 1888a292e6 2024(9): fetch assignment 2024-12-29 02:00:51 +01:00
kees 74cb600d69 2024(8): easy peasy 2024-12-29 01:59:41 +01:00
kees 56a15dff0a 2024(8): solve part 1 2024-12-29 01:46:36 +01:00
kees 5501195a0b 2024(8): fetch assignment part 1 2024-12-29 00:33:27 +01:00
kees 006496ad16 2024(7): fix part 2
This day was a lot easier :').
2024-12-29 00:32:17 +01:00
kees 8f5ccfc0d5 2024(7): fetch assignment part 2 2024-12-29 00:22:08 +01:00
kees 64bd67c3b6 2024(6): get rekt 2024-12-29 00:21:34 +01:00
kees 436e8ab9d5 2024(7): fetch assignment 2024-12-28 23:46:55 +01:00
kees 183b4428f7 2024(6): this is an improvement
On to 2024(7)!
2024-12-28 23:44:18 +01:00
kees 242bacd75d 2024(6): god finally
I hate my code, though.
2024-12-28 23:07:51 +01:00
kees e28df05c1e 2024(6): troubleshooting be whut 2024-12-28 22:50:04 +01:00
kees efe6e5a0c3 2024(6): attempt to troubleshoot slowness
It takes 10 - 20 minutes to solve it. It is too slow. It seems that
List.count takes too long.
2024-12-26 16:37:28 +01:00
kees 9c65de6772 2024(6): clean before fix 2024-12-26 11:41:21 +01:00
kees 1a7f6304ee 2024(6): try part 2
* My code is way too slow.
* I should put the obstacle in the path before starting the walk, as it
  could be that the obstacle is ran into earlier.
2024-12-26 11:35:43 +01:00
kees d515a7b0c0 2024(6): reference self instead of m 2024-12-25 15:29:16 +01:00
kees bc094b504f 2024(6): multi-indices should not be unpacked
This is a problem that became one after switching laptops. It occurred
on WSL 2, probably Ubuntu 20.04 LTS, Python 3.10.12.
2024-12-25 15:28:02 +01:00
kees 923f63b2ce 2024(6): add verbose bool and write idea for part two out 2024-12-24 17:51:44 +01:00
kees 2144ecc5fb 2024(6): fetch part two 2024-12-24 17:36:23 +01:00
kees 53eb9e7a3c 2024(6): solve part 1
The code is quite long lol. Also, the output is too verbose, but mwe!
2024-12-24 17:35:22 +01:00
kees 906db5116e 2024(6): add an idea 2024-12-20 15:55:29 +01:00
kees 0e09b89f51 2024(6): pull in puzzle 2024-12-19 14:06:24 +01:00
kees f835e37d38 Ignore __pycache__ 2024-12-19 14:05:22 +01:00
kees dc7e94b7aa 2025: improve folder names 2024-12-19 14:02:43 +01:00
kees 9bca1dddca 2024: pull assignments using aoc-to-markdown plugin 2024-12-19 14:01:29 +01:00
kees e672c83426 2024(5): I hate this less 2024-12-19 13:56:54 +01:00
kees fee0a57fc2 2024(5): only add the updated ones 2024-12-19 13:52:27 +01:00
kees 1ed8961019 2024(5): halfly fix it, still need to only sum those that were updated 2024-12-19 13:45:32 +01:00
kees 041fa92a26 2024(5): pull in the second puzzle 2024-12-19 12:08:38 +01:00
kees bfa968e7fa 2024(5): I was too quick to dismiss this for another time :D
I quickly realised what I had done.
2024-12-19 12:06:19 +01:00
kees 0c1f1d0ac6 2024(5): not done, but this is a start 2024-12-19 12:04:41 +01:00
kees 7126c62cb2 2024(5): pull in assignment
The README was downloaded using a Firefox plugin:
<https://addons.mozilla.org/en-US/firefox/addon/aoc-to-markdown/>,
by Kyle Farnung.
2024-12-19 11:31:43 +01:00
kees 520dd25365 2024(4): solve puzzle 2 2024-12-19 11:25:25 +01:00
kees 9c3793faf1 2024(4): pull in second part 2024-12-19 11:07:52 +01:00
kees 987bae2bd0 2024(4): add toggle for verbose output 2024-12-19 11:07:09 +01:00
kees 9d50931fe9 2024(4): fixed the first puzzle! 2024-12-19 00:40:02 +01:00
kees c4368b8be2 2024(4): typo ugh 2024-12-19 00:35:23 +01:00
kees dffc9de7d5 2024(4): clean up a little, add notes 2024-12-19 00:17:19 +01:00
kees 04c1a5259a 2024(4): getting there, but not yet 2024-12-18 23:53:19 +01:00
keesandmarit a9d85adf00 2024(4): puzzle 1 does not work
Co-authored-by: Marit Nuijten <marit.nuijten@gmail.com>
2024-12-18 20:57:03 +01:00
keesandmarit 0d350bda90 2024(3): Solved seconf puzzle
Renamed file for first puzzle to be able to import the process_line
function properly.

Co-authored-by: Marit Nuijten <marit.nuijten@gmail.com>
2024-12-18 20:08:10 +01:00
keesandmarit b98a82e42b 2024(3): solve 1
Co-Authored-By: Marit Nuijten <marit.nuijten@gmail.com>
2024-12-18 19:36:19 +01:00
kees 1789a98c8a 2024(3): get input and exercise 2024-12-18 19:23:19 +01:00
kees 089d498d69 2024(2): continue instead of break :') 2024-12-18 18:32:07 +01:00
kees dc85c729fb 2024(2): solve puzzle 1 2024-12-18 17:21:41 +01:00
kees 8677e16e04 2024(2): Get assignment. 2024-12-18 09:42:20 +01:00
kees c2c5a7f231 2024(2): There is puzzle 2. 2024-12-18 09:35:30 +01:00
kees 6d6b4bb8cb 2024(1): Solve Historian Hysteria 2024-12-18 09:29:36 +01:00
kees c1d915a55b 2023(2): WIP add regex for capturing sets of a game 2023-12-03 00:15:16 +01:00
kees 1070824dc9 2023(2): Setup day 2 2023-12-02 23:14:28 +01:00
kees 4d95eabd78 2023(1): My god, here is some WET code 2023-12-02 23:12:20 +01:00
kees 1c17fcede7 2023(1): Treat written digits as digits
This is wrong, though, as cases like `oneight` should return `83` whereas
I replace the `one`s first, so that `1ight` will remain that way.

See <https://www.reddit.com/r/adventofcode/comments/1884fpl/2023_day_1for_those_who_stuck_on_part_2/>.
2023-12-02 22:03:52 +01:00
kees ce39b976ab Initial commit: solve 2023 day 1
This is my very first piece of Rust code. When it compiled for the first
time, the result was what it should be, so I am happy :-).

It did take me > 1 hour to solve this...
2023-12-02 21:40:27 +01:00