NZEC Runtime error in IDE

Hey, so I participated in today’s September Lunchtime.
I was in Division 3 and wrote a code for the first problem, about Vaccine dates.
During submission, I got NZEC Runtime Error, I tried to fix it for a while but it did not work.
I thought maybe it was an issue with my code. After the contest ended, I checked the solution codes in Python 3.6. And the successful submission is nearly identical code.
I tried copying that code and running it on codechef IDE, but even that is giving NZEC Runtime error.
Can someone tell me why this is happening ???

Most probably you didnt give any input and had simply run it on IDE.

I did the custom Input thing, it seemed to work. But during submission, it kept saying Runtime error.

This?

It fails on the sample input:

[simon@simon-laptop][08:24:32]
[~/devel/hackerrank/otherpeoples]>echo "4                                                                       
10 8 12 
14 2 10
4444 5555 6666 
8 8 12
"  |./ken_kaneki14-VDATES.py
Take second dose now
Too Late
Too Early 
Take second dose now
Traceback (most recent call last):
  File "./ken_kaneki14-VDATES.py", line 6, in <module>
    d,l,r = map(int,input().split())
ValueError: not enough values to unpack (expected 3, got 0)

You’re trying to read in T+1 testcases:

for i in range(t+1):
1 Like


This is the error that is coming up.

@ssjgz has already shown why your code results in runtime exception.

1 Like