What logic is used to solve this problem? In general, how to approach such approximation type problems which appear in the long contest?
What logic is used to solve this problem? In general, how to approach such approximation type problems which appear in the long contest?