As in you just figure out "this set of beacons has absolute differences of [435.32, 1932.4, 953.2], and so does this set, so they must share these points"
Any time you write awful code, think about the fact that in some slice of time, that code is the culmination of the entirety of the universe's existence
@UnrelatedString JS gives: Uncaught SyntaxError: Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence
Just for fun someone should calculate the results for all 100 possible inputs
Day Time Rank Score Time Rank Score
21 00:03:33 9 92 00:39:05 664 0
I'm back on the global leaderboard too! :D
Top 10 for p1, on the global leaderboard after days of totally throwing, and then totally threw p2. Kind of sums up this this year's AoC for me so far :p
Wait, actually, you do need to use a string as a map key. The way you're using the map, you'll end up with a zillion copies of everything, all with 0 or 1 as the count