NZEC error in java

http://www.codechef.com/viewsolution/4114400

Getting NZEC error Why??
PLZ Help

Your code fails for this test case

1
0
1
123

@betlista its working fine for this test case as well, i checked it

No, it’s not, sorry for the missing link, here it is - http://ideone.com/oh2Osj

1 Like

thanks a lot betlista:):slight_smile:

@betlista one more problem . i have devoted my whole day in solving this but getting NZEC error .i checked for so many testcases
Plz check it at below link

Mysolution :- http://ideone.com/kfeqgc
http://www.codechef.com/viewsolution/4120282

Problem link:-http://www.codechef.com/problems/D1

I just implemented the editorial of this question.