My code is
Using “Run”, with your code and language PYPY3, with the custom input set to the sample test input for this question:
3
21
132
104
gives the following error:
Traceback (most recent call last):
File "prog.py", line 11, in <module>
while int(l1[0]) == 0:
IndexError: list index out of range
i fixed that but it is still showing runtime error during submisson
Consider the testcase:
1
10