Hi, guys!
Today I tried to learn Graham Scan algorithm, but failed :(
Can you help me to find a bug in this code, please? http://ideone.com/IXFfS9 Algorithm is simple, but I still can't understand, why I have WA4 in problem A here http://mirror.codeforces.com/gym/100173
Can't even to find a test that can crash my solution :(
Thanks a lot!
I dont get what do you do in cmp() exactly, but might be a mistake in line 54:
this might be true
instead of