cf/mirror

Harry Potter and the Golden Snitch

CF
65C2100· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
4
0 0 0
0 10 0
10 10 0
10 0 0
0 0 0
1 1
5 5 25
Output
YES
25.5000000000
10.0000000000 4.5000000000 0.0000000000
Sample 2of 3
Input
4
0 0 0
0 10 0
10 10 0
10 0 0
0 0 0
1 1
5 5 50
Output
NO
Sample 3of 3
Input
1
1 2 3
4 5 6
20 10
1 2 3
Output
YES
0.0000000000
1.0000000000 2.0000000000 3.0000000000
65C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)