| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77698 | 潘允晨 | 校门外的树 | Python3 | Accepted | 103 MS | 3856 KB | 199 | 2024-06-15 10:43:56 |
l,m=input().split() l=int(l) m=int(m) a=[] for i in range(l+1): a.append(1) for x in range(m): s,b = map(int,input().split()) for y in range(s,b+1): a[y]=0 print(sum(a))