![]() |
||||||||||
|
||||||||||
Song of the SirenTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 798 Accepted Submission(s): 290 Problem Description In the unimaginable popular DotA game, a hero Naga Siren, also known as Slithice, has a very powerful skill: Song of the Siren, Slithice’s charming song draws all of the nearby enemies into deep sleep. ![]() Now iSea meet a group of very powerful opponent, he needs to use this skill to draw all of the enemy's five heroes into hypnosis, and only finishing this leaves the chance to win for him. If we have already got the coordinates of the opponents, in where can Slithice sing the song to hypnotize all the opponents? Input There are several test cases in the input. Each test case begin with an integer R (1 ≤ R ≤ 1000), indicating the range of the song, all heroes are hypnotized if the distance between Slithice is no larger than R. The following line contains ten integers, indicating the coordinates of the five opponents, and -10000 ≤ x, y ≤ 10000. The input terminates by end of file marker. Output For each test case, output one line: If no such point, output "Poor iSea, maybe 2012 is coming!" If only one such point, output "Only the point (x, y) is for victory." (x, y) that the only point Slithice can sing. If there are plenty of such points, output "The total possible area is X." X indicating the total area Slithice can sing. All the floating numbers should be rounded to two fractional digits. Sample Input
Sample Output
Hint Be careful do not print -0.00 instead of 0.00 Author Dumbear && iSea @ WHU Source | ||||||||||
|