INTEG - Editorial

https://www.codechef.com/viewsolution/13694068

what is wrong with my solution?
khopri udd gaya

What is wrong with my code?https://www.codechef.com/viewsolution/13703272

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

//