5901: K7-1-5 桌面窗体重叠
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
一个 Windows 桌面上的窗体用4个整数定义位置:左边坐标、右边坐标、上边坐标、下边坐标。
现在,请输入2个窗体的位置信息,判断它们的位置是否重叠。
Input
两行,每行1个窗体的位置信息,int范围以内。
Output
输出2个窗体的重叠面积,不重叠就输出 0。
Sample Input Copy
10 100 20 60
60 160 50 200
Sample Output Copy
400