Email or username:

Password:

Forgot your password?
Top-level
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.
3 comments
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