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