temp=[]
num=0
for a in range(100):
temp.append([])
for b in range(100):
temp[a].append(0)
n=eval(input())
while n>0:
string = input().split()
lst=[eval(x) for x in string]
for row in range(lst[0],lst[2]):
for col in range(lst[1],lst[3]):
temp[row][col]=1
n-=1
for a in range(len(temp)):
for value in temp[a]:
if value==1:
num+=1
print(num)
CCF--201409-2--画图--python 100分
最新推荐文章于 2021-02-10 12:00:26 发布