Solution: CodeForces R. 769 Div. 2 C — Strange Test
1632C - Strange Test
Solution PDF
The proof is not completely rigorous, but it should be close while being kinda concise and humanly understandable.
ICPC NA North Central and South Division