0_0_25597905_9420.cpp:22:5: error: expected ';' after struct definition
}
^
0_0_25597905_9420.cpp:23:38: error: non-member function 'long long int operator*(const point&)' cannot have cv-qualifier
LL operator *(const point &a )const{
^
0_0_25597905_9420.cpp: In function 'long long int operator*(const point&)':
0_0_25597905_9420.cpp:24:20: error: 'x' was not declared in this scope
return 1LL*x*a.y-1LL*y*a.x;
^
0_0_25597905_9420.cpp:24:30: error: 'y' was not declared in this scope
return 1LL*x*a.y-1LL*y*a.x;
^
0_0_25597905_9420.cpp: At global scope:
0_0_25597905_9420.cpp:26:36: error: non-member function 'bool operator<(const point&)' cannot have cv-qualifier
bool operator <(const point &a)const{
^
0_0_25597905_9420.cpp:26:36: error: 'bool operator<(const point&)' must take exactly two arguments
0_0_25597905_9420.cpp:31:1: error: expected declaration before '}' token
};
^
|