0_0_33945487_18717.cpp:25:1: error: stray '\265' in program
调用结束后,ch[]中的便为凸包的各个点(将ch[0] = ch[top])
^
0_0_33945487_18717.cpp:25:1: error: stray '\367' in program
0_0_33945487_18717.cpp:25:1: error: stray '\323' in program
0_0_33945487_18717.cpp:25:1: error: stray '\303' in program
0_0_33945487_18717.cpp:25:1: error: stray '\275' in program
0_0_33945487_18717.cpp:25:1: error: stray '\341' in program
0_0_33945487_18717.cpp:25:1: error: stray '\312' in program
0_0_33945487_18717.cpp:25:1: error: stray '\370' in program
0_0_33945487_18717.cpp:25:1: error: stray '\272' in program
0_0_33945487_18717.cpp:25:1: error: stray '\363' in program
0_0_33945487_18717.cpp:25:1: error: stray '\326' in program
0_0_33945487_18717.cpp:25:1: error: stray '\320' in program
0_0_33945487_18717.cpp:25:1: error: stray '\265' in program
0_0_33945487_18717.cpp:25:1: error: stray '\304' in program
0_0_33945487_18717.cpp:25:1: error: stray '\261' in program
0_0_33945487_18717.cpp:25:1: error: stray '\343' in program
0_0_33945487_18717.cpp:25:1: error: stray '\316' in program
0_0_33945487_18717.cpp:25:1: error: stray '\252' in program
0_0_33945487_18717.cpp:25:1: error: stray '\315' in program
0_0_33945487_18717.cpp:25:1: error: stray '\271' in program
0_0_33945487_18717.cpp:25:1: error: stray '\260' in program
0_0_33945487_18717.cpp:25:1: error: stray '\374' in program
0_0_33945487_18717.cpp:25:1: error: stray '\265' in program
0_0_33945487_18717.cpp:25:1: error: stray '\304' in program
0_0_33945487_18717.cpp:25:1: error: stray '\270' in program
0_0_33945487_18717.cpp:25:1: error: stray '\367' in program
0_0_33945487_18717.cpp:25:1: error: stray '\270' in program
0_0_33945487_18717.cpp:25:1: error: stray '\366' in program
0_0_33945487_18717.cpp:25:1: error: stray '\265' in program
0_0_33945487_18717.cpp:25:1: error: stray '\343' in program
0_0_33945487_18717.cpp:25:1: error: stray '\243' in program
0_0_33945487_18717.cpp:25:1: error: stray '\250' in program
0_0_33945487_18717.cpp:25:1: error: stray '\275' in program
0_0_33945487_18717.cpp:25:1: error: stray '\253' in program
0_0_33945487_18717.cpp:25:1: error: stray '\243' in program
0_0_33945487_18717.cpp:25:1: error: stray '\251' in program
0_0_33945487_18717.cpp:2:5: error: 'll' does not name a type
ll x, y;
^
0_0_33945487_18717.cpp:4:15: error: expected ')' before 'x_'
Point (ll x_, ll y_) : x(x_), y(y_) {}
^
0_0_33945487_18717.cpp: In member function 'void Point::input()':
0_0_33945487_18717.cpp:5:39: error: 'x' was not declared in this scope
void input() {scanf("%lld %lld", &x, &y); }
^
0_0_33945487_18717.cpp:5:43: error: 'y' was not declared in this scope
void input() {scanf("%lld %lld", &x, &y); }
^
0_0_33945487_18717.cpp:5:44: error: 'scanf' was not declared in this scope
void input() {scanf("%lld %lld", &x, &y); }
^
0_0_33945487_18717.cpp: In member function 'bool Point::operator<(const Point&) const':
0_0_33945487_18717.cpp:7:17: error: 'x' was not declared in this scope
return (x < b.x) || (x == b.x && y < b.y);
^
0_0_33945487_18717.cpp:7:23: error: 'const struct Point' has no member named 'x'
return (x < b.x) || (x == b.x && y < b.y);
^
0_0_33945487_18717.cpp:7:37: error: 'const struct Point' has no member named 'x'
return (x < b.x) || (x == b.x && y < b.y);
^
0_0_33945487_18717.cpp:7:42: error: 'y' was not declared in this scope
return (x < b.x) || (x == b.x && y < b.y);
^
0_0_33945487_18717.cpp:7:48: error: 'const struct Point' has no member named 'y'
return (x < b.x) || (x == b.x && y < b.y);
^
0_0_33945487_18717.cpp: At global scope:
0_0_33945487_18717.cpp:9:4: error: 'SIZE' was not declared in this scope
}p[SIZE], ch[SIZE];
^
0_0_33945487_18717.cpp:9:14: error: 'SIZE' was not declared in this scope
}p[SIZE], ch[SIZE];
^
0_0_33945487_18717.cpp: In function 'int andrew(Point*, Point*, int)':
0_0_33945487_18717.cpp:11:23: error: 'sort' was not declared in this scope
sort(p + 1, p + n + 1);
^
0_0_33945487_18717.cpp:14:38: error: no match for 'operator-' (operand types are 'Point' and 'Point')
while ((top > 1) && (cross(ch[top] - ch[top - 1], p[i] - ch[top]) <= 0)) --top;
^
0_0_33945487_18717.cpp:14:58: error: no match for 'operator-' (operand types are 'Point' and 'Point')
while ((top > 1) && (cross(ch[top] - ch[top - 1], p[i] - ch[top]) <= 0)) --top;
^
0_0_33945487_18717.cpp:14:67: error: 'cross' was not declared in this scope
while ((top > 1) && (cross(ch[top] - ch[top - 1], p[i] - ch[top]) <= 0)) --top;
^
0_0_33945487_18717.cpp:19:40: error: no match for 'operator-' (operand types are 'Point' and 'Point')
while ((top > tmp) && (cross(ch[top] - ch[top - 1], p[i] - ch[top]) <= 0)) --top;
^
0_0_33945487_18717.cpp:19:60: error: no match for 'operator-' (operand types are 'Point' and 'Point')
while ((top > tmp) && (cross(ch[top] - ch[top - 1], p[i] - ch[top]) <= 0)) --top;
^
0_0_33945487_18717.cpp:19:69: error: 'cross' was not declared in this scope
while ((top > tmp) && (cross(ch[top] - ch[top - 1], p[i] - ch[top]) <= 0)) --top;
^
0_0_33945487_18717.cpp: At global scope:
0_0_33945487_18717.cpp:25:11: error: mixing declarations and function-definitions is forbidden
调用结束后,ch[]中的便为凸包的各个点(将ch[0] = ch[top])
^
0_0_33945487_18717.cpp:25:40: error: expected initializer before 'ch'
调用结束后,ch[]中的便为凸包的各个点(将ch[0] = ch[top])
^
|