#n33b. [ZBWR1B]Area = ?
[ZBWR1B]Area = ?
Area = ?
Problem Statement
Given four coordinate points you are asked to find the area of this quadrilateral, which might be
- square
- rectangle
- Parallelograms
- trapezoid
- rhombus
Constraints
- The four points , , and are not collinear.
- All input values are integers.
Standard input
The input is given from Standard Input in the following format:
Output
Given four coordinate points you are asked to find the area of this quadrilateral
Sample calendar
Sample Input 1
0 2
0 0
2 2
2 0
Sample Output 1
4
Sample Input 2
0 0
4 0
3 2
1 2
Sample Output 2
6
题面翻译
给定四个坐标点 ,要求你找出这个四边形的面积