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_33859813_1616.cpp: In function 'bool check(int)':
0_0_33859813_1616.cpp:100:29: error: 'dis' was not declared in this scope
    int pi_s1=dis(point[i],s1),pi_s2=dis(point[i],s2),pj_s1=dis(point[j],s1),pj_s2=dis(point[j],s2);
                             ^
0_0_33859813_1616.cpp:101:13: error: 'pj_s1' was not declared in this scope
    if(pi_s1+pj_s1>DIS)addE(i,j+n),addE(j,i+n);
             ^
0_0_33859813_1616.cpp:102:13: error: 'pj_s2' was not declared in this scope
    if(pi_s1+pj_s2+dis_s1_s2>DIS)addE(i,j),addE(j+n,i+n);
             ^
0_0_33859813_1616.cpp:103:7: error: 'pi_s2' was not declared in this scope
    if(pi_s2+pj_s1+dis_s1_s2>DIS)addE(i+n,j+n),addE(j,i);
       ^
0_0_33859813_1616.cpp:103:13: error: 'pj_s1' was not declared in this scope
    if(pi_s2+pj_s1+dis_s1_s2>DIS)addE(i+n,j+n),addE(j,i);
             ^
0_0_33859813_1616.cpp:104:7: error: 'pi_s2' was not declared in this scope
    if(pi_s2+pj_s2>DIS)addE(i+n,j),addE(j+n,i);
       ^
0_0_33859813_1616.cpp:104:13: error: 'pj_s2' was not declared in this scope
    if(pi_s2+pj_s2>DIS)addE(i+n,j),addE(j+n,i);
             ^
0_0_33859813_1616.cpp: In function 'int main()':
0_0_33859813_1616.cpp:114:22: error: 'dis' was not declared in this scope
   dis_s1_s2=dis(s1,s2);
                      ^


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