I am trying to solve a problem on convex hull(my first problem on convex hull) , but don't know why getting WA.↵
I am using Grahm's scan algo to generate all points of Hull , and then simply calculating the parameter of the hull.↵
please can anyone tell me whats wrong with my code.↵
thank you in advance.↵
↵
[Link to my code](https://www.codechef.com/viewsolution/18470569)↵
↵
[Link to problem](https://www.codechef.com/problems/CF224)
I am using Grahm's scan algo to generate all points of Hull , and then simply calculating the parameter of the hull.↵
please can anyone tell me whats wrong with my code.↵
thank you in advance.↵
↵
[Link to my code](https://www.codechef.com/viewsolution/18470569)↵
↵
[Link to problem](https://www.codechef.com/problems/CF224)