Uploaded December 2019 | Updated November 2026, 47 minutes ago
This was a cool problem! I ran into a lot of trouble for a handful of reasons. First I just straight up implemented collinearity badly. Then, I didn't check distance! I thrashed around for a while not really knowing how to debug it before I in fact figured out how to debug it. (That was probably the big loss of time.) Finally, I had distance implemented, but I did not implement a dot product, which was the big bug.
I liked my implementation of part 2. It took me a little longer than I would have hoped, but not as long as people were making it out to be. I think the thing with part 2 is "have you heard of atan2 before".
I'm frustrated with how I did on part 1 -- well, I'm not really frustrated that it cost me the leaderboard on part 1, but I'm a little frustrated with the fact that it cost me the leaderboard on part 2, since that leaderboard seemed to be moving a fair bit slower. I thought part 2 was easier than part 1, anyway.
Either way, fun problem! I just wish I didn't have to wake up in 6.5 hours.
This was a cool problem! I ran into a lot of trouble for a handful of reasons. First I just straight up implemented collinearity badly. Then, I didn't check distance! I thrashed around for a while not really knowing how to debug it before I in fact figured out how to debug it. (That was probably the big loss of time.) Finally, I had distance implemented, but I did not implement a dot product, which was the big bug.
I liked my implementation of part 2. It took me a little longer than I would have hoped, but not as long as people were making it out to be. I think the thing with part 2 is "have you heard of atan2 before".
I'm frustrated with how I did on part 1 -- well, I'm not really frustrated that it cost me the leaderboard on part 1, but I'm a little frustrated with the fact that it cost me the leaderboard on part 2, since that leaderboard seemed to be moving a fair bit slower. I thought part 2 was easier than part 1, anyway.
Either way, fun problem! I just wish I didn't have to wake up in 6.5 hours.










