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_30270117_20862.cpp: In function 'bool getpp(P, P, P, P, P, P, D&, D&)':
0_0_30270117_20862.cpp:57:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=A; p2=B;
     ^
0_0_30270117_20862.cpp:57:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=A; p2=B;
           ^
0_0_30270117_20862.cpp:61:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=N; p2=M;
     ^
0_0_30270117_20862.cpp:61:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=N; p2=M;
           ^
0_0_30270117_20862.cpp:65:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=A; p2=M;
     ^
0_0_30270117_20862.cpp:65:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=A; p2=M;
           ^
0_0_30270117_20862.cpp:69:5: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=B; p2=N;
     ^
0_0_30270117_20862.cpp:69:11: error: cannot convert 'P {aka std::complex<double>}' to 'D {aka double}' in assignment
   p1=B; p2=N;
           ^
0_0_30270117_20862.cpp:73:6: error: declaration of 'int t' shadows a parameter
  int t=0;
      ^
0_0_30270117_20862.cpp:79:11: error: invalid types 'int[int]' for array subscript
  p1=p2=t[0];
           ^
0_0_30270117_20862.cpp:81:15: error: invalid types 'int[int]' for array subscript
   if (cmpx(t[i],p1)) p1=t[i];
               ^
0_0_30270117_20862.cpp:81:28: error: invalid types 'int[int]' for array subscript
   if (cmpx(t[i],p1)) p1=t[i];
                            ^
0_0_30270117_20862.cpp:82:18: error: invalid types 'int[int]' for array subscript
   if (cmpx(p2,t[i])) p2=t[i];
                  ^
0_0_30270117_20862.cpp:82:28: error: invalid types 'int[int]' for array subscript
   if (cmpx(p2,t[i])) p2=t[i];
                            ^
0_0_30270117_20862.cpp: In function 'bool getkb(P, P, P, P, D&, D&, D&, D&)':
0_0_30270117_20862.cpp:87:59: error: expected '}' at end of input
 bool getkb(P A, P B, P N, P M, D &k1, D &b1, D &k2, D &b2){   
                                                           ^


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-12-05 10:04:06, Gzip enabled