I can’t get the inputs to work on the ANEO challenge
The German Highway rain of traffic lights and light string all time out before the input is complete but works perfectly fine with the other challenges.
I have added the light info to collect he data and the print(len(lightinfo)) is so that I can check if the data is finished but on the 3 tasks mentioned before there is no output on all of the others it is fine. can anyone solve this for me?
speed = int(input())
light_count = int(input())
lightinfo=[]
for i in range(light_count):
distance, duration = [int(j) for j in input().split()]
lightinfo.append([distance,duration])
print(len(lightinfo))