#P16223. 【模板】旋转卡壳/最远点对
【模板】旋转卡壳/最远点对
题目背景
This problem comes from the repository https://github.com/yosupo06/library-checker-problems.
题目描述
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.
输入格式
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
提示
- are integers
- The sum of over all test cases does not exceed