Confusion in LVGFT

I was trying to solve LVGFT from November 17 challenge.
According to me the answer for test case:


1 3

2 1

1 1

2 1

should be



But when I tested this across some solutions, only few of them gave this output.

And many accepted solutions gave -1,0 or -1,1 as the output, which I dont think is correct.

Am I missing something, or is it that the test files would have been missing such cases ?

1 Like

I think output should be -1 -1 only. The test case satisfies all the constraints of the problem. So I think this case might have been missed out. But the test cases were strong for this one apart from this one being missed.