Judge accepted my wrong solution (weak test cases)


#1

my wrong solution got accepted. for input [1 -5], expected output is -5, but my solution gives 0. Still accepted.


#3

Expected output should be 1.


#4

By 1 -5, I mean to say 1 is the number of elements in array.
that means -5 is the only element in array.