Type: Default 1000ms 256MiB

重叠窗口

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

Windows桌面上的一个窗体位置由4个整数定义:左边坐标、右边坐标、顶部坐标、底部坐标

输入两个窗体的位置信息,判断它们重叠的面积

输入格式

两行,每行1个窗体的位置信息(int范围内)

输出格式

一行一个整数表示重叠的面积

样例

10 100 20 60
60 160 50 200
400

2023暑假语法组测试

Not Attended
Status
Done
Rule
IOI
Problem
8
Start at
2023-8-17 8:30
End at
2023-8-17 11:30
Duration
3 hour(s)
Host
Partic.
32