0_0_20957655_17840.cpp:47:19: error: stray '#' in program
Mid.x = (A.x + B.x) / 2.0;
^
0_0_20957655_17840.cpp:48:19: error: stray '#' in program
Mid.y = (A.y + B.y) / 2.0;
^
0_0_20957655_17840.cpp:53:43: error: stray '#' in program
return sqrt((A.x -B.x) * (A.x - B.x) + (A.y - B.y) * (A.y - B.y));
^
0_0_20957655_17840.cpp:62:40: error: stray '#' in program
mid_time = Get_Len(p,mid) / R + Get_Len(mid,D) / Q;
^
0_0_20957655_17840.cpp:63:42: error: stray '#' in program
mmid_time = Get_Len(p,mmid) / R + Get_Len(mmid,D) / Q;
^
0_0_20957655_17840.cpp:67:22: error: stray '#' in program
return mid_time + Get_Len(A,p) / P;
^
0_0_20957655_17840.cpp: In function 'Point Get_Point(Point, Point)':
0_0_20957655_17840.cpp:47:20: error: invalid operands of types 'double' and 'int' to binary 'operator&'
Mid.x = (A.x + B.x) / 2.0;
^
0_0_20957655_17840.cpp:47:22: error: expected ')' before ';' token
Mid.x = (A.x + B.x) / 2.0;
^
0_0_20957655_17840.cpp:47:27: error: expected ';' before ')' token
Mid.x = (A.x + B.x) / 2.0;
^
0_0_20957655_17840.cpp:48:20: error: invalid operands of types 'double' and 'int' to binary 'operator&'
Mid.y = (A.y + B.y) / 2.0;
^
0_0_20957655_17840.cpp:48:22: error: expected ')' before ';' token
Mid.y = (A.y + B.y) / 2.0;
^
0_0_20957655_17840.cpp:48:27: error: expected ';' before ')' token
Mid.y = (A.y + B.y) / 2.0;
^
0_0_20957655_17840.cpp: In function 'double Get_Len(Point, Point)':
0_0_20957655_17840.cpp:53:44: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return sqrt((A.x -B.x) * (A.x - B.x) + (A.y - B.y) * (A.y - B.y));
^
0_0_20957655_17840.cpp:53:73: error: expected ';' before ')' token
return sqrt((A.x -B.x) * (A.x - B.x) + (A.y - B.y) * (A.y - B.y));
^
0_0_20957655_17840.cpp: In function 'double Get_Time(Point)':
0_0_20957655_17840.cpp:62:41: error: invalid operands of types 'double' and 'int' to binary 'operator&'
mid_time = Get_Len(p,mid) / R + Get_Len(mid,D) / Q;
^
0_0_20957655_17840.cpp:63:43: error: invalid operands of types 'double' and 'int' to binary 'operator&'
mmid_time = Get_Len(p,mmid) / R + Get_Len(mmid,D) / Q;
^
0_0_20957655_17840.cpp:67:23: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return mid_time + Get_Len(A,p) / P;
^
|