One of the most disastrous nuclear accidents in history has taken place at Japans Fukushima Daiichi nuclear plant. Reactor buildings have been rocked by explosions, caused after damage was sustained from a massive earthquake and tsunami on 11-th march and thus releasing dangerous radiation of unspecified proportions into the air. The radiation is spreading and it’s not a threat only to Japan but also to other countries. If the level of radiation reaches a high level, it will surely cause harms to human health as well as the environment. You, one of the great programmers in the city, have planned to find the zones that are vulnerable to radiation. If you can measure the level of radia- tion in a certain city, further actions can be taken to prevent the people from radiation related health consequences. So, at first you want to find the time in which a certain percentage of an area is under ra- diation threat. So, at first you modeled the map of a city in 2D space as a simple polygon [1]. You denoted the origin of the explosion as a single point. From this origin, the radiation spreads circularly. You plotted the map such that in each unit of time the radius of the radiation grows one unit. Now, you want to find the time when P % of the area of a city is under threat of radiation. Input Input starts with an integer T (≤ 70), denoting the number of test cases. Each test case starts with a blank line. The next line contains an integer n (3 ≤ n ≤ 5000) denoting the number of vertices of the polygon. Each of the next n lines will contain two integers xi, yi denoting the co-ordinate of a vertex of the polygon. The vertices will be given in anticlockwise order. The next line contains 3 integers rx, ry and P (0 < P ≤ 100), where (rx,ry) denotes the co-ordinate of the origin of explosion and P denotes the percentage. All values for the co-ordinates are between -200 to 200 (inclusive). Output For each case, print the case number and the time when exactly P% of the total area is under threat of radiation. Round the time to nearest integer [2]. Notes:
2/2 Sample Input 2 3 -5 0 50 05 0 0 100 4 00 50 31 56 0 0 17 Sample Output Case 1: 5 Case 2: 2