Code: Select all
Yes
Yes
Code: Select all
Yes
No
Code: Select all
Yes
Yes
Code: Select all
Yes
No
Code: Select all
abc axbycz
abc xyz
Code: Select all
4
1 1 0 0
3
0 0 0
Code: Select all
3
5 2
0 1
2 3
5 3
0 1
2 3
1 3
4 3
2 0
2 1
2 3
Code: Select all
3
3
1
Code: Select all
inline int sq_distance(const point &p1,const point &p2)