Need Help: Two chandeliers
In the editorial of this problem, Can someone please tell me how do we arrive at the these equations and what are pos, x, y?
Thanks in advance.
Codeforces Round 1123 Solution Discussion