0_0_19231164_22312.cpp:19:73: error: 'Po' has not been declared
void get(){ scanf("%lf%lf",&x,&y); } bool friend operator<(Po
^
0_0_19231164_22312.cpp:20:5: error: two or more data types in declaration of 'a'
int a,Po
^
0_0_19231164_22312.cpp:20:6: error: expected ')' before ',' token
int a,Po
^
0_0_19231164_22312.cpp:20:6: error: 'bool operator<(...)' must have an argument of class or enumerated type
0_0_19231164_22312.cpp:20:7: error: 'Po' is neither function nor member function; cannot be declared friend
int a,Po
^
0_0_19231164_22312.cpp:20:7: error: expected ';' at end of member declaration
0_0_19231164_22312.cpp:21:5: error: expected ';' at end of member declaration
int b){ if(f_abs(a.x-b.x)<eps)return a.y<b.y; return a.x<b.x; } bool friend operator>(Po
^
0_0_19231164_22312.cpp:21:6: error: expected unqualified-id before ')' token
int b){ if(f_abs(a.x-b.x)<eps)return a.y<b.y; return a.x<b.x; } bool friend operator>(Po
^
0_0_19231164_22312.cpp:21:107: error: 'Po' has not been declared
int b){ if(f_abs(a.x-b.x)<eps)return a.y<b.y; return a.x<b.x; } bool friend operator>(Po
^
0_0_19231164_22312.cpp:22:5: error: two or more data types in declaration of 'a'
int a,Po
^
0_0_19231164_22312.cpp:22:6: error: expected ')' before ',' token
int a,Po
^
0_0_19231164_22312.cpp:22:6: error: 'bool operator>(...)' must have an argument of class or enumerated type
0_0_19231164_22312.cpp:22:7: error: 'Po' is neither function nor member function; cannot be declared friend
int a,Po
^
0_0_19231164_22312.cpp:22:7: error: expected ';' at end of member declaration
0_0_19231164_22312.cpp:23:5: error: expected ';' at end of member declaration
int b){ return b<a; } bool friend operator==(Po
^
0_0_19231164_22312.cpp:23:5: error: redeclaration of 'int Point::b'
0_0_19231164_22312.cpp:21:5: note: previous declaration 'int Point::b'
int b){ if(f_abs(a.x-b.x)<eps)return a.y<b.y; return a.x<b.x; } bool friend operator>(Po
^
0_0_19231164_22312.cpp:23:6: error: expected unqualified-id before ')' token
int b){ return b<a; } bool friend operator==(Po
^
0_0_19231164_22312.cpp:23:59: error: 'Po' has not been declared
int b){ return b<a; } bool friend operator==(Po
^
0_0_19231164_22312.cpp:24:5: error: two or more data types in declaration of 'a'
int a,Po
^
0_0_19231164_22312.cpp:24:6: error: expected ')' before ',' token
int a,Po
^
0_0_19231164_22312.cpp:24:6: error: 'bool operator==(...)' must have an argument of class or enumerated type
0_0_19231164_22312.cpp:24:7: error: 'Po' is neither function nor member function; cannot be declared friend
int a,Po
^
0_0_19231164_22312.cpp:24:7: error: expected ';' at end of member declaration
0_0_19231164_22312.cpp:25:5: error: expected ';' at end of member declaration
int b){ return f_abs(a.x-b.x)<eps&&f_abs(a.y-b.y)<eps; }};
^
0_0_19231164_22312.cpp:25:5: error: redeclaration of 'int Point::b'
0_0_19231164_22312.cpp:21:5: note: previous declaration 'int Point::b'
int b){ if(f_abs(a.x-b.x)<eps)return a.y<b.y; return a.x<b.x; } bool friend operator>(Po
^
0_0_19231164_22312.cpp:25:6: error: expected unqualified-id before ')' token
int b){ return f_abs(a.x-b.x)<eps&&f_abs(a.y-b.y)<eps; }};
^
0_0_19231164_22312.cpp:26:17: error: 'Po' does not name a type
struct Line{ Po
^
0_0_19231164_22312.cpp: In function 'bool operator<(Line, Line)':
0_0_19231164_22312.cpp:27:67: error: 'struct Line' has no member named 's'
int s,e; bool friend operator<(Line a,Line b){ return a.s<b.s; }
^
0_0_19231164_22312.cpp:27:71: error: 'struct Line' has no member named 's'
int s,e; bool friend operator<(Line a,Line b){ return a.s<b.s; }
^
0_0_19231164_22312.cpp: In member function 'void Line::st()':
0_0_19231164_22312.cpp:28:19: error: 'Po' was not declared in this scope
void st(){ Po
^
0_0_19231164_22312.cpp:29:18: error: 's' was not declared in this scope
int t; if(s>e){ t=s;s=e;e=t; } }
^
0_0_19231164_22312.cpp:29:20: error: 'e' was not declared in this scope
int t; if(s>e){ t=s;s=e;e=t; } }
^
0_0_19231164_22312.cpp:29:35: error: 't' was not declared in this scope
int t; if(s>e){ t=s;s=e;e=t; } }
^
0_0_19231164_22312.cpp: In member function 'void Line::get()':
0_0_19231164_22312.cpp:30:20: error: 's' was not declared in this scope
void get(){ s.get();e.get(); st(); }};Line line[200000],myl[2];Po
^
0_0_19231164_22312.cpp:30:28: error: 'e' was not declared in this scope
void get(){ s.get();e.get(); st(); }};Line line[200000],myl[2];Po
^
0_0_19231164_22312.cpp: At global scope:
0_0_19231164_22312.cpp:30:81: error: 'Po' does not name a type
void get(){ s.get();e.get(); st(); }};Line line[200000],myl[2];Po
^
0_0_19231164_22312.cpp:33:18: error: 'Po' was not declared in this scope
double get_cross(Po
^
0_0_19231164_22312.cpp:34:12: error: expected primary-expression before 'b'
int a,Line b){
^
0_0_19231164_22312.cpp:34:13: error: expression list treated as compound expression in initializer [-fpermissive]
int a,Line b){
^
0_0_19231164_22312.cpp:34:14: error: expected ',' or ';' before '{' token
int a,Line b){
^
0_0_19231164_22312.cpp:36:25: error: 'Po' has not been declared
int inter(Line a,Line b,Po
^
0_0_19231164_22312.cpp:37:15: error: two or more data types in declaration of 'rp'
int &rp=Point()){
^
0_0_19231164_22312.cpp: In function 'int inter(...)':
0_0_19231164_22312.cpp:38:34: error: 'b' was not declared in this scope
double cj[2]; cj[0]=get_cross(b.s,a);cj[1]=get_cross(b.e,a); if(cj[0]*cj[1]>eps)return 0; cj[0]=get_cross(a.s,b);cj[1]=get_cross(a.e,b); if(cj[0]*cj[1]>eps)return 0; if(f_abs(cj[0])<eps&&f_abs(cj[1])<eps){ return 4; } if(f_abs(cj[0])<eps){ rp=a.s; if(cj[1]>eps)return 2; else return 3; }else if(f_abs(cj[1])<eps){ rp=a.e; if(cj[0]>eps)return 2; else return 3; }else{
^
0_0_19231164_22312.cpp:38:38: error: 'a' was not declared in this scope
double cj[2]; cj[0]=get_cross(b.s,a);cj[1]=get_cross(b.e,a); if(cj[0]*cj[1]>eps)return 0; cj[0]=get_cross(a.s,b);cj[1]=get_cross(a.e,b); if(cj[0]*cj[1]>eps)return 0; if(f_abs(cj[0])<eps&&f_abs(cj[1])<eps){ return 4; } if(f_abs(cj[0])<eps){ rp=a.s; if(cj[1]>eps)return 2; else return 3; }else if(f_abs(cj[1])<eps){ rp=a.e; if(cj[0]>eps)return 2; else return 3; }else{
^
0_0_19231164_22312.cpp:38:39: error: 'get_cross' cannot be used as a function
double cj[2]; cj[0]=get_cross(b.s,a);cj[1]=get_cross(b.e,a); if(cj[0]*cj[1]>eps)return 0; cj[0]=get_cross(a.s,b);cj[1]=get_cross(a.e,b); if(cj[0]*cj[1]>eps)return 0; if(f_abs(cj[0])<eps&&f_abs(cj[1])<eps){ return 4; } if(f_abs(cj[0])<eps){ rp=a.s; if(cj[1]>eps)return 2; else return 3; }else if(f_abs(cj[1])<eps){ rp=a.e; if(cj[0]>eps)return 2; else return 3; }else{
^
0_0_19231164_22312.cpp:38:62: error: 'get_cross' cannot be used as a function
double cj[2]; cj[0]=get_cross(b.s,a);cj[1]=get_cross(b.e,a); if(cj[0]*cj[1]>eps)return 0; cj[0]=get_cross(a.s,b);cj[1]=get_cross(a.e,b); if(cj[0]*cj[1]>eps)return 0; if(f_abs(cj[0])<eps&&f_abs(cj[1])<eps){ return 4; } if(f_abs(cj[0])<eps){ rp=a.s; if(cj[1]>eps)return 2; else return 3; }else if(f_abs(cj[1])<eps){ rp=a.e; if(cj[0]>eps)return 2; else return 3; }else{
^
0_0_19231164_22312.cpp:38:121: error: 'get_cross' cannot be used as a function
double cj[2]; cj[0]=get_cross(b.s,a);cj[1]=get_cross(b.e,a); if(cj[0]*cj[1]>eps)return 0; cj[0]=get_cross(a.s,b);cj[1]=get_cross(a.e,b); if(cj[0]*cj[1]>eps)return 0; if(f_abs(cj[0])<eps&&f_abs(cj[1])<eps){ return 4; } if(f_abs(cj[0])<eps){ rp=a.s; if(cj[1]>eps)return 2; else return 3; }else if(f_abs(cj[1])<eps){ rp=a.e; if(cj[0]>eps)return 2; else return 3; }else{
^
0_0_19231164_22312.cpp:38:144: error: 'get_cross' cannot be used as a function
double cj[2]; cj[0]=get_cross(b.s,a);cj[1]=get_cross(b.e,a); if(cj[0]*cj[1]>eps)return 0; cj[0]=get_cross(a.s,b);cj[1]=get_cross(a.e,b); if(cj[0]*cj[1]>eps)return 0; if(f_ab
|