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_37240535_5114.cpp: In function 'point get(point, point, point)':
0_0_37240535_5114.cpp:23:11: error: conflicting declaration 'point d'
     point d;
           ^
0_0_37240535_5114.cpp:19:12: note: previous declaration as 'double d'
     double d = 2 * (p.x - r.x);
            ^
0_0_37240535_5114.cpp:24:7: error: request for member 'x' in 'd', which is of non-class type 'double'
     d.x = (c*e-f*b)/g;
       ^
0_0_37240535_5114.cpp:25:7: error: request for member 'y' in 'd', which is of non-class type 'double'
     d.y = (a*f-d*c)/g;
       ^
0_0_37240535_5114.cpp:26:12: error: could not convert 'd' from 'double' to 'point'
     return d;
            ^


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-09-29 08:29:29, Gzip enabled