Need help to debug my solution related to convex hull

Revision en1, by devarshi09, 2018-09-27 19:23:26

I am getting WA in Spoj Problem ,Build the fence . Link to the problem : https://www.spoj.com/problems/BSHEEP/ Link to my code : https://ideone.com/OpAj4u . Can anyone help me to find the error or give any counter test case. I used graham scan algorithm to make my code efficient.

Tags convex hull, spoj

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English devarshi09 2018-09-27 20:04:12 10 Tiny change: 'deone.com/OpAj4u . Can any' -> 'deone.com/NpcblK . Can any'
en1 English devarshi09 2018-09-27 19:23:26 333 Initial revision (published)