Pro.ID21438 TitleGlobal Roaming Title链接http://10.20.2.8/oj/exercise/problem?problem_id=21438 AC13 Submit45 Ratio28.89% 时间&空间限制描述A great deal in today's mobile communication depends on having a direct view to a satellite. For communication providers it is therefore crucial to know where their services are available. 输入The input file consists of several test cases. For each test case the first line contains the number of locations n to be checked followed by the position of the satellite: its latitude, its longitude (both in degrees) and its height (in km) above the earth's surface. 输出Description A great deal in today's mobile communication depends on having a direct view to a satellite. For communication providers it is therefore crucial to know where their services are available. Input The input file consists of several test cases. For each test case the first line contains the number of locations n to be checked followed by the position of the satellite: its latitude, its longitude (both in degrees) and its height (in km) above the earth's surface. Output For each test case output the number of the test case as formatted in the sample output. Then, output the locations from where the satellite is visible by printing the corresponding labels on separate lines in the same order as they appear in the input file. Sample Input 3 20.0 -60.0 150000000.0 Sample Output Test case 1: Source 样例输入3 20.0 -60.0 150000000.0 样例输出Test case 1: 作者 |