P11653 [AOJ] Cornering at Poles
普及
题目描述

Example

Input

8 900 0
40 100
70 -80
350 30
680 -20
230 230
300 400
530 130
75 -275

Output

1210.99416

输入格式

见题面

输出格式

见题面

样例输入
8 900 0 40 100 70 -80 350 30 680 -20 230 230 300 400 530 130 75 -275
样例输出
1210.99416