0_0_38141796_4315.cpp:6:1: error: 'Vector' does not name a type
Vector<Point> polygon;
^
0_0_38141796_4315.cpp: In function 'bool inPolygon(Point&)':
0_0_38141796_4315.cpp:10:13: error: 'polygon' was not declared in this scope
int n = polygon.size();
^
0_0_38141796_4315.cpp:17:36: error: 'angle2D' was not declared in this scope
angle += angle2D(x1, y1, x2, y2);
^
0_0_38141796_4315.cpp: At global scope:
0_0_38141796_4315.cpp:24:11: error: '::main' must return 'int'
void main(){
^
0_0_38141796_4315.cpp: In function 'int main()':
0_0_38141796_4315.cpp:25:15: error: 'n' was not declared in this scope
while(cin>>n){
^
0_0_38141796_4315.cpp:30:12: error: 'polygon' was not declared in this scope
polygon.push_back(p);
^
0_0_38141796_4315.cpp:32:14: error: 'm' was not declared in this scope
while(m>0){
^
0_0_38141796_4315.cpp:40:1: error: expected '}' at end of input
}
^
|