Find runtime error NZEC

Can you spot the Runtime (NZEC ) error in this python code for these COOKOFF problems?
https://www.codechef.com/viewsolution/24325900

That’s a weird way of taking inputs. What if there’s only 1 row. Your code need at least 2 rows to work.

1 Like