F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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
 }
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 21:20:31, Gzip enabled