| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78283 | 小徐老师 | 校门外的树 | Python3 | Wrong Answer | 2766 MS | 4132 KB | 302 | 2024-06-16 21:02:17 |
a = [int(i) for i in input().split()] e = [] for i in range(a[0] + 1): e.append(i+1) for i in range(a[1]): start,end = [int(i) for i in input().split()] for j in range(start,end+1): try: e.remove(j) except: continue print(len(e))
------Input------
1000 5 0 100 101 200 900 1000 207 400 401 899
------Answer-----
6
------Your output-----
7