https://www.codechef.com/DEC20B/problems/POSPREFS

Suppose I am taking n=5 and k=2, according to the explanation of this question posted on codechef’s YouTube channel the answer is

1 -2 3 -4 -5 .

I want to know why 1 2 -3 -4 -5 is not the answer of the question?