Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77699 张康楠 校门外的树 Python3 Accepted 91 MS 3836 KB 201 2024-06-15 10:47:37

Tests(10/10):


Code:

m,l = map(int,input().split()) a=[] for i in range(m+1): a.append(1) for i in range(l): x,y = map(int,input().split()) for e in range(x,y+1): a[e]=0 print(sum(a))