NZEC in subtask 2 of APPY AND CONTEST (HMAPPY2)

I am not able to understand why I am getting NZEC in my submission.
my solution is CodeChef: Practical coding for everyone

Consider the test input:

1
10000000000 999 1000 1
1 Like