Wrong test case again!

CodeChef: Practical coding for everyone for this solution
answer should be 0 but code is giving -97 and it got partially accepted!
please look it @admin

1
3
1 4 100

It’s not even giving correct output on sample input. Please fix this for Practice problem.
@aryanc403 @poetic_soul