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_20263777_8829.cpp: In function 'double CPIA(double*, double*, double*, double*, int, int)':
0_0_20263777_8829.cpp:3:15: error: 'maxisn' was not declared in this scope
     double px[maxisn],py[maxisn], tmpx[maxisn],tmpy[maxisn];
               ^
0_0_20263777_8829.cpp:10:9: error: 'px' was not declared in this scope
         px[i]=bx[i];
         ^
0_0_20263777_8829.cpp:11:9: error: 'py' was not declared in this scope
         py[i]=by[i];
         ^
0_0_20263777_8829.cpp:17:58: error: 'px' was not declared in this scope
         sflag = dcmp(cross(ax[i],ay[i],ax[i + 1],ay[i+1],px[0],py[0]));
                                                          ^
0_0_20263777_8829.cpp:17:64: error: 'py' was not declared in this scope
         sflag = dcmp(cross(ax[i],ay[i],ax[i + 1],ay[i+1],px[0],py[0]));
                                                                ^
0_0_20263777_8829.cpp:17:69: error: 'cross' was not declared in this scope
         sflag = dcmp(cross(ax[i],ay[i],ax[i + 1],ay[i+1],px[0],py[0]));
                                                                     ^
0_0_20263777_8829.cpp:17:70: error: 'dcmp' was not declared in this scope
         sflag = dcmp(cross(ax[i],ay[i],ax[i + 1],ay[i+1],px[0],py[0]));
                                                                      ^
0_0_20263777_8829.cpp:22:17: error: 'tmpy' was not declared in this scope
                 tmpy[tn] = px[j];
                 ^
0_0_20263777_8829.cpp:32:92: error: 'tmpx' was not declared in this scope
                 LineCross(ax[i],ay[i], ax[i + 1],ay[i + 1], px[j],py[j], px[j + 1],py[j+1],tmpx[tn],tmpy[tn]);
                                                                                            ^
0_0_20263777_8829.cpp:32:101: error: 'tmpy' was not declared in this scope
                 LineCross(ax[i],ay[i], ax[i + 1],ay[i + 1], px[j],py[j], px[j + 1],py[j+1],tmpx[tn],tmpy[tn]);
                                                                                                     ^
0_0_20263777_8829.cpp:32:109: error: 'LineCross' was not declared in this scope
                 LineCross(ax[i],ay[i], ax[i + 1],ay[i + 1], px[j],py[j], px[j + 1],py[j+1],tmpx[tn],tmpy[tn]);
                                                                                                             ^
0_0_20263777_8829.cpp:39:19: error: 'tmpx' was not declared in this scope
             px[i]=tmpx[i];
                   ^
0_0_20263777_8829.cpp:40:19: error: 'tmpy' was not declared in this scope
             py[i]=tmpy[i];
                   ^
0_0_20263777_8829.cpp:46:24: error: 'px' was not declared in this scope
     return PolygonArea(px,py, nb);
                        ^
0_0_20263777_8829.cpp:46:27: error: 'py' was not declared in this scope
     return PolygonArea(px,py, nb);
                           ^
0_0_20263777_8829.cpp:46:33: error: 'PolygonArea' was not declared in this scope
     return PolygonArea(px,py, nb);
                                 ^


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-22 20:57:11, Gzip enabled