Hi Codeforces!
The 49th ICPC World Finals in Baku are happening tomorrow! Before then I'll be holding the last scheduled Alumni Event at September 3 at 19:30.
I'll be in the hotel Chill Zone to talk and hang out! I have some mini-lectures prepared and I ready to yap about any of my favorite topics:
- Top Trees
- SPQR Trees
- Dirichlet Series Convolution
- C++
- AI
- and more!
You can also ask me about anything! Come hang out before the contest and maybe learn something uesless!
The complete alumni schedule can be found at https://worldfinals.icpc.global/alumni.html.
For everyone not in Baku, you can follow all the livestreams at live.icpc.global or on YouTube, I'll be commentating on the English stream. You can also register for the mirror contest here.







, where
is the xor and
is non-carrying binary addition. Thus, we can find
, and
. If
, then
, then we must have 
.

,
, and
. We can do this with a linear search, or with an explicit formula.

