Email or username:

Password:

Forgot your password?
Maxim Lebedev

The good news is that after three days of tooth-grinding and a dozen tests from #reddit, I finally solved the third day's #AdventOfCode puzzle with numbers coordinates and surrounding symbols.

The bad news is that this puzzle, like any other, has a second, more complicated part.

5 comments
David Brownman

@toby3d if you'd like a step-by-step walkthrough of each puzzle, I've been writing up those solutions on my site: advent-of-code.xavd.id

Maxim Lebedev

I'm not proud of it, but I got the right answer faster than the compiler timeout. So, technically, I did it.

#Golang #Go #AdventOfCode #programming

Screenshot of the source code of the test of solving the second part of the problem of the 5th day of Advent of Code in Golang. Below is the terminal with the successful result of the test launch, which took 209 seconds.
Tyler Mumford

@toby3d What do you mean by compiler timeout?

Maxim Lebedev

@tylermumford The #Go compiler has a default timeout for running tests of ten minutes, which can be overridden by a flag. If the limit is reached, the copilator will panic, force stop the process and the remaining tests will be marked as failed.

Tyler Mumford

@toby3d Ah, thanks, I forgot about that.

Go Up