krstffr.bsky.social
@krstffr.bsky.social
Advent of Code in Odin, day 20.

Kind of glad I am still solving those, around this point is where I usually drop off!

Once I figured out a way to solve part 2 it was mainly a matter of figuring out why my distances were off (and similar edge cases), but solved it in the end.
odin-aoc-23-24/24/20/main.odin at kk/testing-day16 · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 20, 2024 at 8:32 AM
Advent of code in Odin, day 19.

Very easy (just like yesterday), kind of makes me scared of what will happen tomorrow :(

(Did not get up at 06 but at least before kids went to school!)

github.com/krstffr/odin...

#adventofcode
odin-aoc-23-24/24/19/main.odin at kk/testing-day16 · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 19, 2024 at 6:02 AM
Advent of code in Odin day 18.

Finally an easy day again!
I have stopped going up at 06 now. Delta time between part 1 and 2 was quite good for me: 00:02:44

(Have not yet finished parts 2 of 16 and 17 yet, too much stuff happening RN!)

#adventofcode
odin-aoc-23-24/24/18/main.odin at kk/testing-day16 · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 18, 2024 at 12:00 PM
Day 13 of using Odin for Advent of code.

Today I wish I knew more maths!!
My first solution for part 1 was just a stupid search by pressing buttons and finding the optimal setup, but that would of course not work for part 2. So found a bin search solution there.. Not good overall!!

#adventofcode
odin-aoc-23-24/24/13/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 13, 2024 at 9:18 AM
Advent of code, day 12 2024.

At a christmas party last night, sooooooo hungover, but managed to complete this before taking kids to school. Feel horrible though! Code is just a mess, but outputs the correct answers. Might clean up later...

First: 00:30:28 3535
Second: 01:24:52 2984

#adventofcode
odin-aoc-23-24/24/12/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 12, 2024 at 6:36 AM
Advent of code using Odin, day 11.

Was really fighting conversion from/to string/int, struggling with how to handle that. Ended up with the tryst old temp_allocator in the end. But will try to clean this up later!

#adventofcode
odin-aoc-23-24/24/11/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 11, 2024 at 8:46 AM
Advent of code, day 10 2024.

Just a little search fiesta! Needs to be refactored haha, very non-DRY and copy-pasted at the moment. But got an opportunity for 30 minutes of bed time so will catch those!

Part one: 00:12:19 1495
Part two: 00:17:17 1634

#adventofcode
odin-aoc-23-24/24/10/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 10, 2024 at 5:29 AM
Solving Advent of code using Odin lang, day 9.

Code sucks (but need to go back to bed before fixing), but got my highest placements yet!

Part one: 00:15:44 Rank: 1243
Part two: 00:39:53 Rank: 1240

#adventofcode
odin-aoc-23-24/24/09/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 9, 2024 at 5:46 AM
Day 8 of solving advent of code using Odin lang!

Almost top 1000 today for part 2, rank 1168.

#adventofcode
odin-aoc-23-24/24/08/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 8, 2024 at 5:26 AM
Advent of code using Odin day 7.

Part 1 felt pretty fast, but converting ints to strings and back was very much not my forte :)

Day 3–6 are in the repo as well.
odin-aoc-23-24/24/07/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 7, 2024 at 5:55 AM
Advent of Code 2024 using Odin, day 2.

Just awful haha. Could not think straight this morning!

Part one: 00:10:54 3160
Part two: 00:28:00 4283

#AdventOfCode
odin-aoc-23-24/24/02/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 2, 2024 at 5:38 AM
Advent of Code 2024 using Odin, day 1.

Reeeeally not awake in the brain for part one today ugh.

Part one: 00:05:46 2402
Part two: 00:07:52 1911

#AdventOfCode
odin-aoc-23-24/24/01/main.odin at main · krstffr/odin-aoc-23-24
Advent of code in odin, 2023 and 2024. Contribute to krstffr/odin-aoc-23-24 development by creating an account on GitHub.
github.com
December 1, 2024 at 5:31 AM