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/NpcblK . Can anyone help me to find the error or give any counter test case. I used graham scan algorithm to make my code efficient.
Lmao are you fucking kidding me. You say like two words about your solution. Do you even expect someone to answer?
Your code is filled with crappy shorthands which are impossible to parse for anyone else. What is more, your code is not even indented properly.
How do you even think someone is going to parse what you might mean by
or maybe
Are you another alt of LanceTheDragonTrainer?
Lollol. No. But great men think alike XD.