Author Topic: Advent of Code  (Read 45650 times)

Re: Advent of Code
« Reply #825 on: January 04, 2020, 09:37:40 am »
(I have all 250 stars, be interesting to see the stats on how many people have done that. There were 362 people with 200 stars by April 2019: https://twitter.com/ericwastl/status/1116561274379259904 )

As of recently only 283 have all 250 stars:-

https://twitter.com/ericwastl/status/1213134461229031424
"Yes please" said Squirrel "biscuits are our favourite things."

Re: Advent of Code
« Reply #826 on: March 31, 2020, 10:57:44 am »
Well I made a start at AoC 2019 in January to learn some new skills for work and to occupy slow spots at work. Got halfway through Day 3 and stalled somewhat - mostly due to work getting busy.

Well given the current lockdown and the fact I can't do much of my job from home I started again from scratch. I'm up to Day 5 now and plodding away. I don't really know how to program so it's a lot of Googling and head scratching. I'm pretty sure in days 1 - 3 I made exactly the same mistakes as I managed the first time round  ::-)

I'm also fairly sure that some of what I'm doing is completely the opposite of best practise but there we go. Definitely doing something wrong as each run of my day 3 solution with the full input takes well over an hour to chug through.

Currently programming in C++ via Visual Studio Community 2019.
Miles cycled 2014 = 3551.5 (Target 7300 :()
Miles cycled 2013 = 6141.4
Miles cycled 2012 = 4038.1

Re: Advent of Code
« Reply #827 on: March 31, 2020, 11:08:27 am »
Definitely doing something wrong as each run of my day 3 solution with the full input takes well over an hour to chug through.

If you can describe here in words how your algorithm works then someone here can give pointers...
"Yes please" said Squirrel "biscuits are our favourite things."

Re: Advent of Code
« Reply #828 on: March 31, 2020, 11:10:30 am »
Cheers  :thumbsup:

I'll probably take you up on that at some point. Probably not today as I'm hip deep in day 5 and I think I'm getting somewhere with it. May as well keep on when I'm on a roll  ;D
Miles cycled 2014 = 3551.5 (Target 7300 :()
Miles cycled 2013 = 6141.4
Miles cycled 2012 = 4038.1

vorsprung

  • Opposites Attract
    • Audaxing
Re: Advent of Code
« Reply #829 on: March 31, 2020, 11:52:57 am »
Definitely doing something wrong as each run of my day 3 solution with the full input takes well over an hour to chug through.

If you can describe here in words how your algorithm works then someone here can give pointers...

given that he is coding in C++ pointers are the problem
Audaxing Blog follow @vorsprungbike on

Re: Advent of Code
« Reply #830 on: March 31, 2020, 01:40:33 pm »
If you get stuck I have all 49 solutions in  Microsoft c++ and can give some hints.

I also have some ludicrously large intcode programs.


Sent from my iPad using Tapatalk