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_37808962_28050.cpp: In function 'void solve()':
0_0_37808962_28050.cpp:9:14: error: 'long long' invalid for 'Ax'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
              ^
0_0_37808962_28050.cpp:9:17: error: 'long long' invalid for 'ax'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                 ^
0_0_37808962_28050.cpp:9:20: error: 'long long' invalid for 'Ay'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                    ^
0_0_37808962_28050.cpp:9:23: error: 'long long' invalid for 'ay'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                       ^
0_0_37808962_28050.cpp:9:26: error: 'long long' invalid for 'Bx'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                          ^
0_0_37808962_28050.cpp:9:29: error: 'long long' invalid for 'bx'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                             ^
0_0_37808962_28050.cpp:9:32: error: 'long long' invalid for 'by'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                ^
0_0_37808962_28050.cpp:9:35: error: 'long long' invalid for 'By'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                   ^
0_0_37808962_28050.cpp:9:38: error: 'long long' invalid for 'Cx'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                      ^
0_0_37808962_28050.cpp:9:41: error: 'long long' invalid for 'Cy'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                         ^
0_0_37808962_28050.cpp:9:44: error: 'long long' invalid for 'cx'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                            ^
0_0_37808962_28050.cpp:9:47: error: 'long long' invalid for 'cy'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                               ^
0_0_37808962_28050.cpp:9:50: error: 'long long' invalid for 'dx'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                                  ^
0_0_37808962_28050.cpp:9:53: error: 'long long' invalid for 'dy'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                                     ^
0_0_37808962_28050.cpp:9:56: error: 'long long' invalid for 'Dx'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                                        ^
0_0_37808962_28050.cpp:9:59: error: 'long long' invalid for 'Dy'
  long double Ax,ax,Ay,ay,Bx,bx,by,By,Cx,Cy,cx,cy,dx,dy,Dx,Dy;
                                                           ^
0_0_37808962_28050.cpp:19:14: error: 'long long' invalid for 'k'
  long double k =  ((ax-bx)*(ax-bx)+(ay-by)*(ay-by))/((Ax-Bx)*(Ax-Bx)+(Ay-By)*(Ay-By));
              ^
0_0_37808962_28050.cpp:21:14: error: 'long long' invalid for 'x1'
  long double x1 = (Bx-Ax);
              ^
0_0_37808962_28050.cpp:22:14: error: 'long long' invalid for 'y1'
  long double y1 = (By-Ay);
              ^
0_0_37808962_28050.cpp:23:14: error: 'long long' invalid for 'x2'
  long double x2 = (bx-ax);
              ^
0_0_37808962_28050.cpp:24:14: error: 'long long' invalid for 'y2'
  long double y2 = (by-ay);
              ^
0_0_37808962_28050.cpp:25:14: error: 'long long' invalid for 'c1'
  long double c1 = (y2-k*y1);
              ^
0_0_37808962_28050.cpp:26:14: error: 'long long' invalid for 'b1'
  long double b1 = k*(Ax*x1+Ay*y1)-(ax*x2+y2*ay);
              ^
0_0_37808962_28050.cpp:27:14: error: 'long long' invalid for 'val1'
  long double val1 = (k*x1-x2);
              ^
0_0_37808962_28050.cpp:35:14: error: 'long long' invalid for 'c2'
  long double c2 = (y2-k*y1);
              ^
0_0_37808962_28050.cpp:36:14: error: 'long long' invalid for 'b2'
  long double b2 = k*(Cx*x1+Cy*y1)-(cx*x2+y2*cy);
              ^
0_0_37808962_28050.cpp:37:14: error: 'long long' invalid for 'val2'
  long double val2 = (k*x1-x2);
              ^


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 13:39:34, Gzip enabled