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_28837017_18388.cpp: In function 'int main()':
0_0_28837017_18388.cpp:34:16: error: redeclaration of 'double x'
         double x=(c2*b1-c1*b2)/(b2*a1-b1*a2);//交点
                ^
0_0_28837017_18388.cpp:31:62: note: 'double x' previously declared here
         double a1,b1,a2,b2,c1,c2,a,b,c,d,e,f,g,h,p1,p2,p3,p4,x,y;
                                                              ^
0_0_28837017_18388.cpp:35:16: error: redeclaration of 'double y'
         double y=(a2*c1-a1*c2)/(b2*a1-b1*a2);
                ^
0_0_28837017_18388.cpp:31:64: note: 'double y' previously declared here
         double a1,b1,a2,b2,c1,c2,a,b,c,d,e,f,g,h,p1,p2,p3,p4,x,y;
                                                                ^


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-07-03 14:10:10, Gzip enabled