Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78260 杜昊诚 校门外的树 Python3 Accepted 87 MS 3852 KB 168 2024-06-16 19:55:17

Tests(10/10):


Code:

L,M=map(int,input().split()) m=[1 for x in range(L+1)] for j in range(M): a,b=map(int,input().split()) for i in range(a,b+1): m[i]=0 print(sum(m))