bool check(point p,point a,point b)
{
if((comp(a.x - p.x) <= 0 && comp(p.x - b.x) <= 0) || (comp(a.x - p.x) >= 0 && comp(p.x - b.x) >= 0))
{
if((comp(b.y - p.y) >= 0 && comp(p.y - a.y) >= 0) || (comp(b.y - p.y) <= 0 && comp(p.y - a.y) <= 0))
return true;
}
return false;
}
别二了少年!!!洗洗睡吧!!!
å