|
||||||||||
Neko and quadrilateralTime Limit: 10000/7000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 853 Accepted Submission(s): 167 Problem Description Neko have k points on a 2-dimensional plane. And no three points are in a straight line. Now, Neko want to you to select four different points to form a quadrilateral. Neko want to know the max area and the min area fo this quadrilateral. Input The first line contains one integers $n(1 \leq n \leq 2000)$ The next $n$ line, each line contains two integers $x, y(-10^{9} \leq x,y \leq 10^{9})$, means the coordinate of the $i-th$ point. Output Output the min area and the max area in one line. For convenience, please output twice the area. Sample Input
Sample Output
Source | ||||||||||
|