hello,i am using c++ for this http://www.spoj.com/problems/CS345A1/ problem.i have checked my solution for many cases but i'm not able to find out where i'm going wrong.Code : http://ideone.com/8FCIdS
yy1=y1*10000000; yy2=y2*10000000; xx=x*10000000;
Why do you think that this is accurate?