시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
2 초 | 512 MB | 25 | 12 | 10 | 58.824% |
At the company soccer tournament, you want to impress your boss, who is watching the game you are participating in. Fortunately, you are a pretty good soccer player, who can make some sharp passes. You look around you to your team mates to see if there are any around who are close enough that you can reliably pass, but far away enough that your boss will be impressed.
The distance and angle will be accepted if the absolute or relative difference is at most 10−6 from the actual value.
2 1.0 2.0 0 0 1 1 2 2
1 1 1.41421356 0.78539816
2 1.0 2.0 0 0 2 2 4 4
impossible