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.
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Almost top 1000 today for part 2, rank 1168.
#adventofcode
Almost top 1000 today for part 2, rank 1168.
#adventofcode
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.
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.
Just awful haha. Could not think straight this morning!
Part one: 00:10:54 3160
Part two: 00:28:00 4283
#AdventOfCode
Just awful haha. Could not think straight this morning!
Part one: 00:10:54 3160
Part two: 00:28:00 4283
#AdventOfCode
Reeeeally not awake in the brain for part one today ugh.
Part one: 00:05:46 2402
Part two: 00:07:52 1911
#AdventOfCode
Reeeeally not awake in the brain for part one today ugh.
Part one: 00:05:46 2402
Part two: 00:07:52 1911
#AdventOfCode