0_0_28483220_14907.cpp:12:19: error: expected type-specifier before '(' token
bool operator (const Point& rhs) const {
^
0_0_28483220_14907.cpp:15:4: error: 'maxn' was not declared in this scope
}p[maxn],ch[maxn];
^
0_0_28483220_14907.cpp:15:13: error: 'maxn' was not declared in this scope
}p[maxn],ch[maxn];
^
0_0_28483220_14907.cpp: In function 'double Cross(Point, Point)':
0_0_28483220_14907.cpp:23:22: error: cannot convert 'Point' to 'double' in return
return A.y*B.x - B
^
0_0_28483220_14907.cpp:24:1: error: expected ';' before '}' token
}int tubao(){
^
0_0_28483220_14907.cpp: In function 'int tubao()':
0_0_28483220_14907.cpp:27:19: error: 'n' was not declared in this scope
for(int i=0;i<n;i++){
^
0_0_28483220_14907.cpp:28:17: error: 'p' was not declared in this scope
if(m>1&&p[i]-ch[m-2])
^
0_0_28483220_14907.cpp:28:22: error: 'ch' was not declared in this scope
if(m>1&&p[i]-ch[m-2])
^
0_0_28483220_14907.cpp:29:5: error: expected primary-expression before '}' token
}
^
0_0_28483220_14907.cpp: In function 'int main()':
0_0_28483220_14907.cpp:33:25: error: 'stdin' was not declared in this scope
freopen("i.txt","r",stdin);
^
0_0_28483220_14907.cpp:33:30: error: 'freopen' was not declared in this scope
freopen("i.txt","r",stdin);
^
0_0_28483220_14907.cpp:35:5: error: 'cin' was not declared in this scope
cin >> t;
^
0_0_28483220_14907.cpp:40:18: error: 'p' was not declared in this scope
cin>>p[i].x>>p[i].y;
^
0_0_28483220_14907.cpp:42:14: error: 'p' was not declared in this scope
sort(p,p+n);
^
0_0_28483220_14907.cpp:42:19: error: 'sort' was not declared in this scope
sort(p,p+n);
^
0_0_28483220_14907.cpp:43:25: error: 'unique' was not declared in this scope
n = unique(p,p+n) - p;
^
|