Сервер олимпиад

Ставропольский государственный университет

Имя
Пароль

Server Off-Line
Server time: 22 Dec 2024 04:52:04

Банк задач


Номер задачи - 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

InputOutput
2
1 3
4 2
1
Rambler's Top100 | Карта сайта | Контакты | Copyright © 2005-2007, Ставропольский государственный университет.