SAMESNAK - Editorial

Yess, I got it but I am still not able to get what is going wrong in my code…! Is there any way I can see that test-case like we can do in CF…?

I am getting correct answer even in this case. From past two-three days I am not been able to find out where I am getting wrong. Here is Link of my solution.
Can you help me out please. @shashank96 @sumedhk @jeetu86044

@max3no

1
1 1 1 3
1 0 1 4
no

the original test case is: 1 2 4 2 -1 2 -8 2

@the_king_i_am ,the answer should be no in the test case given by you. And mine is also printing yes.

Thanks for the concern.

@the_king_i_am ,the answer should be no in the test case given by you. And mine is also printing yes.

Thanks for the concern.

@sap96, the points in the input are unsorted. x21 can be > x22.

where is the link?