@[_PyPy_](/user/316258) orz AKIOI的巨佬%%%%%%
by Star_Wind @ 2020-02-05 12:57:58
@[_PyPy_](/user/316258) 你教我啊,我只会python的输入输出
by Star_Wind @ 2020-02-05 12:58:34
File "E:/Python/WindShear/P1047.py", line 3, in <module>
l=int(input(""))
ValueError: invalid literal for int() with base 10: '500 3'
by xC41 @ 2020-02-05 13:00:29
这到底是啥...
by xC41 @ 2020-02-05 13:00:40
```python
l=int(input())
```
@[_PyPy_](/user/316258)
这玩意
by Star_Wind @ 2020-02-05 13:01:34
@[_PyPy_](/user/316258) input读一行,你读了两次
by 血色黄昏 @ 2020-02-05 13:02:23
@[血色黄昏](/user/220426) 所以具体要怎么改,加个
```python
.split()
```
是吗
by xC41 @ 2020-02-05 13:04:59
全RE,怎么改
```python
a=[[0]*1005 for i in range(1005)]
count=0
l,m=int(input("").split())
for i in range(0,l):
a[i]=0
for i in range(0,m):
x=int(input(""))
y=int(input(""))
for j in range(x,y):
if a[j]==0:
a[j]+=1
else:
continue
for i in range(0,l):
if a[i]==0:
count+=1
print(count)
```
(是不是没救了)
by xC41 @ 2020-02-05 13:09:37
l, m = map(int, input().split())
by fwking @ 2020-02-05 13:17:56