Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Solve day 10 part 2 | June McEnroe | 2020-11-22 |
| | | | | | | | | I'm so fucking frustrated with this one. I was stuck for hours trying to sort the points by angle not realizing that (int)(angle(a) - angle(b)) would be 0 for all angles with differences smaller than 1. I also wanted to do the sort by atan2(-y, x) - π/2 intuitively to get "up" be zero, but I never got that to work. | ||
* | Solve day 10 part 1 | June McEnroe | 2020-11-22 |