I have solved this problem but I’m not getting what’s wrong in the code
I got NZEC error even I used map(int,input().split()) method.
Can someone please help me with this ? I have also tried to cover code in try and catch block it gives me WA (wrong answer) I want to know where I went wrong ?
This is another submission with try and catch block:-