https://www.codechef.com/viewsolution/13694068
what is wrong with my solution?
khopri udd gaya
test cases contain an array with at least one negative element. so, 0 as an answer is not possible.
this is my solution using prefix sum and sorting.
link text