Номер задачи - 40Задача CirclesОграничение 3 сек. на тест
There are circles and a rectangule.
To find a maximum quantity of circles which will be located in a rectangule.
Input:
In the first line quantity of circles n. In the second - radiuses through a space.
In the third line the sizes of a rectangule. Numbers are integer and less then 10 000.
Output:
A maximum quantity of circles which will be located in a rectangule.
Example
|