Help! Runtime error(NZEC) using python!

when i was trying to solve this question i was able to pass the given testcase and when i submit it i was getting runtime error…please help me to know the reason behind it.
question : https://www.codechef.com/problems/ALTARAY
mysolution: codechef.com/viewsolution/30039871
please help

Try using this as custom input.
1
1
1

2 Likes

Got it,Thank you

1 Like