https://www.codechef.com/viewsolution/27383975
NZEC means Non-Zero Exit Code. So check in methods whether you returned any value or not.