| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131505 | 杨嘉陆 | 校门外的树 | Python3 | Accepted | 102 MS | 3844 KB | 215 | 2025-09-27 14:07:42 |
l,m=input().split() l,m=int(l),int(m) trees=[1]*(l+1) for x in range(m): a,b = input().split() a = int(a) b = int(b) for i in range(a,b+1): trees[i]=0 res= sum(trees) print(res)