logo AlgoBeat OnlineJudge
登录 注册

#216284. 【模板】旋转卡壳/最远点对

内存限制:2048 MiB 时间限制:500 ms 标准输入输出
题目类型:VJudge(洛谷) 评测方式:VJudge
上传者: 匿名

题目描述

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 .

Here, denotes the Euclidean distance between two points.

输入格式












样例

样例输入 1

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

样例输出 1

3 2
0 1
0 1
0 1

数据范围与提示

  • are integers
  • The sum of over all test cases does not exceed