CNOTE: NZEC exception. Code runs properly on local and passing test cases. What is wrong?

Hi, I have a code that runs perfectly on local and sample inputs and outputs match plus other testcases i ran. but when i submit it is returning NZEC and nothing is passed. Only difference i see is i am using Golang > 1.7 (1.11) but codechef uses ~1.7

here is the link to my code:

link text

if you are able move beyond this problem let me know. I am facing the same issue.