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_28837008_16804.cpp: In function 'int main()':
0_0_28837008_16804.cpp:31:40: error: redeclaration of 'double c1'
         double a1,b1,a2,b2,c1,c2,k1,k2,c1,c2,a,b,c,d,e,f,g,h,p1,p2,p3,p4,x,y;
                                        ^
0_0_28837008_16804.cpp:31:28: note: 'double c1' previously declared here
         double a1,b1,a2,b2,c1,c2,k1,k2,c1,c2,a,b,c,d,e,f,g,h,p1,p2,p3,p4,x,y;
                            ^
0_0_28837008_16804.cpp:31:43: error: redeclaration of 'double c2'
         double a1,b1,a2,b2,c1,c2,k1,k2,c1,c2,a,b,c,d,e,f,g,h,p1,p2,p3,p4,x,y;
                                           ^
0_0_28837008_16804.cpp:31:31: note: 'double c2' previously declared here
         double a1,b1,a2,b2,c1,c2,k1,k2,c1,c2,a,b,c,d,e,f,g,h,p1,p2,p3,p4,x,y;
                               ^
0_0_28837008_16804.cpp:34:16: error: redeclaration of 'double x'
         double x=(c2*b1-c1*b2)/(b2*a1-b1*a2);//½»µã
                ^
0_0_28837008_16804.cpp:31:74: note: 'double x' previously declared here
         double a1,b1,a2,b2,c1,c2,k1,k2,c1,c2,a,b,c,d,e,f,g,h,p1,p2,p3,p4,x,y;
                                                                          ^
0_0_28837008_16804.cpp:35:16: error: redeclaration of 'double y'
         double y=(a2*c1-a1*c2)/(b2*a1-b1*a2);
                ^
0_0_28837008_16804.cpp:31:76: note: 'double y' previously declared here
         double a1,b1,a2,b2,c1,c2,k1,k2,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-11-29 19:17:56, Gzip enabled