Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_872_8944_19569.cpp:9:1: error: 'int_128' does not name a type
 int_128 dis(int_128 x,int_128 y)
 ^
1_872_8944_19569.cpp: In function 'int cal(int, int, int)':
1_872_8944_19569.cpp:15:5: error: 'int_128' was not declared in this scope
     int_128 dis1=dis(b[i].x-a[j].x,b[i].y-a[j].y);
     ^
1_872_8944_19569.cpp:16:13: error: expected ';' before 'dis2'
     int_128 dis2=dis(b[i].x-a[k].x,b[i].y-a[k].y);
             ^
1_872_8944_19569.cpp:17:13: error: expected ';' before 'dis3'
     int_128 dis3=dis(a[j].x-a[k].x,a[j].y-a[k].y);
             ^
1_872_8944_19569.cpp:18:8: error: 'dis1' was not declared in this scope
     if(dis1<dis2)
        ^
1_872_8944_19569.cpp:18:13: error: 'dis2' was not declared in this scope
     if(dis1<dis2)
             ^
1_872_8944_19569.cpp:20:8: error: 'dis1' was not declared in this scope
     if(dis1<dis3)
        ^
1_872_8944_19569.cpp:20:13: error: 'dis3' was not declared in this scope
     if(dis1<dis3)
             ^
1_872_8944_19569.cpp:22:12: error: 'dis1' was not declared in this scope
     return dis1==dis2+dis3;
            ^
1_872_8944_19569.cpp:22:18: error: 'dis2' was not declared in this scope
     return dis1==dis2+dis3;
                  ^
1_872_8944_19569.cpp:22:23: error: 'dis3' was not declared in this scope
     return dis1==dis2+dis3;
                       ^


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-27 17:49:36, Gzip enabled