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_29566667_3631.cpp:35:9: error: 'N' was not declared in this scope
 point p[N];
         ^
0_0_29566667_3631.cpp: In function 'void deal(point, point)':
0_0_29566667_3631.cpp:62:42: error: 'class std::vector<double>' has no member named 'pb'
         if(sgn(y-p.y)>0&&sgn(y-q.y)<0) V.pb(p.x);
                                          ^
0_0_29566667_3631.cpp: In function 'int main()':
0_0_29566667_3631.cpp:114:30: error: 'p' was not declared in this scope
         for(int i=0;i<n;i++) p[i].get();
                              ^
0_0_29566667_3631.cpp:115:9: error: 'p' was not declared in this scope
         p[n]=p[0]; p[n+1]=p[1];
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 17:22:37, Gzip enabled