EXAPUNKS
DAY 1 PART 2 ADVENT OF CODE 2018 - CHRONAL CALIBRATION
2 条留言
Mus_niro  [作者] 2018 年 12 月 1 日 上午 11:48 
@zwippie, I'm happy you like it! Yes the first one is correct: you start at frequency 0 and after the first 4 values the frequency is 0 again (+76 + -43 + 17 + -50 = 0). This is the same case as one of the examples in the puzzle description '+1, -1 first reaches 0 twice'. Funny that it appeared in the first test.

Yeah, I'll try to port as many as I can. Doing anything with strings will be next to impossible though.
zwippie 2018 年 12 月 1 日 上午 11:10 
I have created a solution that succeeds for all test runs excecpt the first one! Are you sure the answer for the first one is correct? It says it should be 0 but I doubt that.

Thanks for converting the AOC puzzles, looking forward to the next days. Very curious if they keep being simple enough to translate to Exapunks. :)