Author: | B. Vasilyev, A. Klenin | Time limit: | 5 sec | |
Input file: | input.txt | Memory limit: | 4 Mb | |
Output file: | output.txt |
Radio station 'ACM Rock' is broadcasting over the circular area with center in point (x0, y0) and radius R. In order to increase the auditorium, it were suggested to build several relay stations. N locations were selected as candidate sites for relay stations. Relay station placed in i-th location will cover a circular area with center in point (xi, yi) and radius ri, where center lies inside the area covered by the base station, (x0 - xi)2 + (y0 - yi)2 ≤ R2.
Your task is to select a subset of sites for relay stations so that:
No. | Input file (input.txt ) |
Output file (output.txt ) |
---|---|---|
1 |
|
|