0_0_38141811_9726.cpp:6:1: error: 'Vector' does not name a type
Vector<Point> polygon;
^
0_0_38141811_9726.cpp: In function 'bool inPolygon(Point&)':
0_0_38141811_9726.cpp:13:13: error: 'polygon' was not declared in this scope
int n = polygon.size();
^
0_0_38141811_9726.cpp: At global scope:
0_0_38141811_9726.cpp:27:11: error: '::main' must return 'int'
void main(){
^
0_0_38141811_9726.cpp: In function 'int main()':
0_0_38141811_9726.cpp:28:15: error: 'n' was not declared in this scope
while(cin>>n){
^
0_0_38141811_9726.cpp:33:12: error: 'polygon' was not declared in this scope
polygon.push_back(p);
^
0_0_38141811_9726.cpp:35:14: error: 'm' was not declared in this scope
while(m>0){
^
0_0_38141811_9726.cpp:43:1: error: expected '}' at end of input
}
^
|