A power of two week
https://petr-mitrichev.blogspot.com/2023/08/a-power-of-two-week.html
Codeforces Round 945 Solution Discussion (with myself)
Atcoder ABC #354 Solution Discussion