Largest Triangle
시간 제한1초메모리 제한2048 MB
x-단조 지형 다각형이 주어질 때, 지형의 한 점을 꼭짓점으로 가지면서 지형 안에 완전히 들어가는 가장 큰 삼각형을 찾는다.
문제
A “terrain” is an -monotone polygon defined by the points where each point has coordinates , and the following three conditions hold:
- for
- for
Given a terrain defined by the points , find the largest triangle that fits entirely within the terrain, and one of its three vertices is positioned at one of the terrain points through .

입력
The first line of input contains an integer , representing the number of points in the terrain (). The th line in the following lines consists of two space-separated integers and , representing the point of the terrain ().
출력
Print the area of the largest triangle contained within the terrain. Your output will be considered correct if its absolute or relative error is at most .