作业帮 > 英语 > 作业

英语翻译InputThere are multiple test cases.The first line contai

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/22 13:41:11
英语翻译
Input
There are multiple test cases.The first line contains an integer n (0 < n ≤ 100).The body of Xiaoxingxing can be decribed as a polygon of n points.Each of the following n lines contains two integers xi and yi (|xi| ≤ 10000,0 ≤ yi ≤ 10000) ,descibing a point of the polygon clockwise or counter-clockwise.The first point of the polygon is always the origin an d the polygon will not be self-crossed.The last line of each test case contains two integers X and Y (xi < X ≤ 10000,0 ≤ Y ≤ 10000),descrbing the position of the Lost Piece.Xiaoxingxing can only roll with some point fixed on the ground where y = 0.
Output
For each test case,first output one line containing "Case x:" where x is the case number (starting from 1).If it is possible for Xiaoxingxing to reach his LP,output the minimum angel in degrees he has to roll before he can reach his LP.The result should be accurate up to 2 decimal places.Otherwise,output "Impossible" instead.
补充一句:谢绝机译!
输入
有多个测试案例.第一行包含一个整数(0,100≤).身体xiaoxingxing可以被描述为一个多边形的点.以下的每一行含有2个整数,十一和义(|西|≤10000,0≤易≤10000),描述目前一点的多边形的顺时针或逆时针.第一点是多边形的总的起源和多边形不self-crossed.最后一行的每一个测试用例包含2个整数与(十一“×≤10000,0≤辎≤10000),表示位置的一块.xiaoxingxing只能推出一些点固定在地面上,r = 0.
输出功率
对于每个测试案例,第一输出一个包含“案例:“哪里是病例数(从1开始).如果这是可能的xiaoxingxing达到