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_20984762_22749.cpp:27:37: error: stray '#' in program
     return sqrt((xx1-xx2)*(xx1-xx2)+(YY1-yy2)*(YY1-yy2));
                                     ^
0_0_20984762_22749.cpp:33:11: error: stray '#' in program
     xx=xr+r*cos(k);
           ^
0_0_20984762_22749.cpp:34:11: error: stray '#' in program
     yy=yr+r*sin(k);
           ^
0_0_20984762_22749.cpp:57:15: error: stray '#' in program
     return d1+d2;
               ^
0_0_20984762_22749.cpp:65:17: error: stray '#' in program
         mid=(le+ri)/2.0;
                 ^
0_0_20984762_22749.cpp:66:19: error: stray '#' in program
         mmid=(mid+ri)/2.0;
                   ^
0_0_20984762_22749.cpp:74:12: error: stray '#' in program
     ri=tle+2*pi;
            ^
0_0_20984762_22749.cpp:77:17: error: stray '#' in program
         mid=(le+ri)/2.0;
                 ^
0_0_20984762_22749.cpp:78:19: error: stray '#' in program
         mmid=(mid+ri)/2.0;
                   ^
0_0_20984762_22749.cpp:96:31: error: stray '#' in program
     tmp=2*xx1/(2*sqrt(xx1*xx1+YY1*YY1));
                               ^
0_0_20984762_22749.cpp:97:13: error: stray '#' in program
     le=pi/2+acos(tmp);
             ^
0_0_20984762_22749.cpp:98:11: error: stray '#' in program
     ri=le+pi;
           ^
0_0_20984762_22749.cpp: In function 'double caldist(double, double, double, double)':
0_0_20984762_22749.cpp:27:38: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     return sqrt((xx1-xx2)*(xx1-xx2)+(YY1-yy2)*(YY1-yy2));
                                      ^
0_0_20984762_22749.cpp:27:60: error: expected ';' before ')' token
     return sqrt((xx1-xx2)*(xx1-xx2)+(YY1-yy2)*(YY1-yy2));
                                                            ^
0_0_20984762_22749.cpp: In function 'double getdist(double)':
0_0_20984762_22749.cpp:33:12: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     xx=xr+r*cos(k);
            ^
0_0_20984762_22749.cpp:34:12: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     yy=yr+r*sin(k);
            ^
0_0_20984762_22749.cpp:57:16: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     return d1+d2;
                ^
0_0_20984762_22749.cpp: In function 'void solve()':
0_0_20984762_22749.cpp:65:18: error: invalid operands of types 'double' and 'int' to binary 'operator&'
         mid=(le+ri)/2.0;
                  ^
0_0_20984762_22749.cpp:65:20: error: expected ')' before ';' token
         mid=(le+ri)/2.0;
                    ^
0_0_20984762_22749.cpp:65:23: error: expected ';' before ')' token
         mid=(le+ri)/2.0;
                       ^
0_0_20984762_22749.cpp:66:20: error: invalid operands of types 'double' and 'int' to binary 'operator&'
         mmid=(mid+ri)/2.0;
                    ^
0_0_20984762_22749.cpp:66:22: error: expected ')' before ';' token
         mmid=(mid+ri)/2.0;
                      ^
0_0_20984762_22749.cpp:66:25: error: expected ';' before ')' token
         mmid=(mid+ri)/2.0;
                         ^
0_0_20984762_22749.cpp:74:13: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     ri=tle+2*pi;
             ^
0_0_20984762_22749.cpp:77:18: error: invalid operands of types 'double' and 'int' to binary 'operator&'
         mid=(le+ri)/2.0;
                  ^
0_0_20984762_22749.cpp:77:20: error: expected ')' before ';' token
         mid=(le+ri)/2.0;
                    ^
0_0_20984762_22749.cpp:77:23: error: expected ';' before ')' token
         mid=(le+ri)/2.0;
                       ^
0_0_20984762_22749.cpp:78:20: error: invalid operands of types 'double' and 'int' to binary 'operator&'
         mmid=(mid+ri)/2.0;
                    ^
0_0_20984762_22749.cpp:78:22: error: expected ')' before ';' token
         mmid=(mid+ri)/2.0;
                      ^
0_0_20984762_22749.cpp:78:25: error: expected ';' before ')' token
         mmid=(mid+ri)/2.0;
                         ^
0_0_20984762_22749.cpp: In function 'void presolve()':
0_0_20984762_22749.cpp:96:32: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     tmp=2*xx1/(2*sqrt(xx1*xx1+YY1*YY1));
                                ^
0_0_20984762_22749.cpp:96:34: error: expected ')' before ';' token
     tmp=2*xx1/(2*sqrt(xx1*xx1+YY1*YY1));
                                  ^
0_0_20984762_22749.cpp:96:42: error: expected ';' before ')' token
     tmp=2*xx1/(2*sqrt(xx1*xx1+YY1*YY1));
                                          ^
0_0_20984762_22749.cpp:97:14: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     le=pi/2+acos(tmp);
              ^
0_0_20984762_22749.cpp:98:12: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     ri=le+pi;
            ^


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-26 14:08:54, Gzip enabled