0_0_38540769_12577.cpp: In function 'real PointLineDistance(const Point&, const Line&)':
0_0_38540769_12577.cpp:45:16: error: no match for 'operator-' (operand types are 'const Point' and 'const Point')
return Cross(A-B.p,B.v)/Length(B.v);
^
0_0_38540769_12577.cpp: In function 'real solve()':
0_0_38540769_12577.cpp:67:13: error: no match for 'operator-' (operand types are 'Vector {aka Point}' and 'Vector {aka Point}')
AB=Line(A,B-A);
^
0_0_38540769_12577.cpp:68:13: error: no match for 'operator-' (operand types are 'Vector {aka Point}' and 'Vector {aka Point}')
BC=Line(B,C-B);
^
0_0_38540769_12577.cpp:69:13: error: no match for 'operator-' (operand types are 'Vector {aka Point}' and 'Vector {aka Point}')
CA=Line(C,A-C);
^
|