http://www.codechef.com/viewsolution/4114400
Getting NZEC error Why??
PLZ Help
Your code fails for this test case
1
0
1
123
No, it’s not, sorry for the missing link, here it is - oh2Osj - Online Java Compiler & Debugging Tool - Ideone.com
thanks a lot betlista:)
@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 :- kfeqgc - Online IDE & Debugging Tool - Ideone.com
CodeChef: Practical coding for everyone
Problem link:-D1 Problem - CodeChef
I just implemented the editorial of this question.