A trigonometric week
https://petr-mitrichev.blogspot.com/2019/12/a-trigonometric-week.html
Codeforces Round 943 Solution Discussion