I created a video that talks about some bit manipulation tricks, and how to apply horner's trick to binary search the starting element that produces a geometric series sum. This is also the editorial for D. RReeppeettiittiioonn from today's Codeforces round.







