I was trying to solve LVGFT from November 17 challenge.
According to me the answer for test case:
1
1 3
2 1
1 1
2 1
should be
-1
-1
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 ?