0_0_17905502_31646.cpp: In function 'void gao()':
0_0_17905502_31646.cpp:12:17: error: lvalue required as unary '&' operand
#define X real()
^
0_0_17905502_31646.cpp:73:31: note: in expansion of macro 'X'
scanf("%lf%lf",&s[i].X,&s[i].Y);
^
0_0_17905502_31646.cpp:13:17: error: lvalue required as unary '&' operand
#define Y imag()
^
0_0_17905502_31646.cpp:73:39: note: in expansion of macro 'Y'
scanf("%lf%lf",&s[i].X,&s[i].Y);
^
0_0_17905502_31646.cpp:83:21: error: lvalue required as left operand of assignment
s[i].X = -s[i].X;
^
0_0_17905502_31646.cpp:85:22: error: lvalue required as left operand of assignment
ts[i].X = -ts[i].X;
^
0_0_17905502_31646.cpp: In function 'int main()':
0_0_17905502_31646.cpp:12:17: error: lvalue required as unary '&' operand
#define X real()
^
0_0_17905502_31646.cpp:116:36: note: in expansion of macro 'X'
scanf("%lf%lf", &p[i].X, &p[i].Y);
^
0_0_17905502_31646.cpp:13:17: error: lvalue required as unary '&' operand
#define Y imag()
^
0_0_17905502_31646.cpp:116:45: note: in expansion of macro 'Y'
scanf("%lf%lf", &p[i].X, &p[i].Y);
^
|