Comments
On Kostroma → AIM Tech Round 5 Editorial, 8 years ago
+9

How to solve C if we are asked to find any point which lies in maximum number of Rectangles?

Yes, mine also passed because of the heuristic optimisation. I think that the test cases were weak. I did not even precompute the gcd, still it got AC.

Yes, We'd love to learn some new tricks.