#P16223. 【模板】旋转卡壳/最远点对
【模板】旋转卡壳/最远点对
Background
This problem comes from the repository https://github.com/yosupo06/library-checker-problems.
Problem Description
This problem has cases.
Given 2D points . Find a pair , such that and $\text{dist}(p_i, p_j) = \max_{i \ne j} \text{dist}(p_i, p_j)$.
Here, denotes the Euclidean distance between two points.
Input Format
4
5
-1 -1
-6 4
-9 -7
2 5
-7 6
2
1 2
3 4
3
1 1
1 1
1 1
2
-1000000000 1000000000
1000000000 -1000000000
3 2
0 1
0 1
0 1
Hint
- are integers
- The sum of over all test cases does not exceed