1053 计算矩形面积


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

两个坐标点能确定一个矩形,请按矩形的面积大小进行排序输出。 每一行给出两个坐标点,表示一个矩形。请按要求输出面积。

Sample

Input

1 2 3 4
1 0 2 3
2 1 3 1
2 8 7 1

Output

0
3
4
35

Source: qn


Comments

There are no comments at the moment.