Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

playing_it_my_way's blog

By playing_it_my_way, history, 9 years ago, In English

Can someone please explain how to solve the following problem?
Problem Link
Thanks in Advance!