Olá, fiz esse código em python e não sei o que está errado. Dá esse erro na variável n.
ValueError: invalid literal for int() with base 10: ''
Meu código:
j = 0
while True:
x1, y1, x2, y2 = map(int, input().split())
n = int(input())
cont = 0
if x1 == x2 == y2 == y1 == 0:
break
for i in range(n):
x0, y0 = map(int, input().split())
for t in range(x1, x2):
if t == x0 and y0 == y2:
cont = 1 + cont
if t == x0 and y2 <= y0 <= y1:
cont = 1 + cont
print("Teste")
print(j + 1)
print(cont)
j = j + 1