Problem2155--Calculate area

2155: Calculate area

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 152  Solved: 31
[Submit] [Status] [Web Board] [Creator:]

Description

Define a rectangle structure type, enter the point coordinates of a rectangle, and calculate the area of the rectangle.

Input

Input 4 point coordinates

Output

Output area

Sample Input Copy

(0,0)(0,1)(1,0)(1,1)

Sample Output Copy

1

Source/Category

198