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_30113315_10044.cpp: In function 'int check(ll, ll, ll, int, int)':
0_0_30113315_10044.cpp:85:12: error: redeclaration of 'double x2'
     double x2 = ((b * b - a * a) * x1 - 2* a * b * y1 - 2 * a * c) / (a * a + b * b);
            ^
0_0_30113315_10044.cpp:36:12: note: 'double x2' previously declared here
     double x2 = ((b * b - a * a) * x1 - 2* a * b * y1 - 2 * a * c) / (a * a + b * b);
            ^
0_0_30113315_10044.cpp:86:12: error: redeclaration of 'double y2'
     double y2 = ((a * a - b * b) * y1 - 2 * a * b * x1 - 2 * b * c) / (a * a + b * b);
            ^
0_0_30113315_10044.cpp:37:12: note: 'double y2' previously declared here
     double y2 = ((a * a - b * b) * y1 - 2 * a * b * x1 - 2 * b * c) / (a * a + b * b);
            ^


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-10-01 07:42:39, Gzip enabled