I am unable to get the orientation

As in the image i am attaching aapar bhaiya has calculated orientation with greater_than equality but i am not able to derive it i was able to derive it with less_than equality.

i found a link where it is given with less_than equality please help me.

https://cp-algorithms.com/geometry/grahams-scan-convex-hull.html

In apaar bhaiya’s code you can see he use !cw instead of cw, so he basically inverted evrything and therefore inversion nullified inversion here.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.