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_26789353_1958.cpp: In function 'int getLineCircleIntersection(const Line&, const Circle&, std::vector<Point>&)':
0_0_26789353_1958.cpp:85:33: error: passing 'const Line' as 'this' argument of 'Point Line::point(double)' discards qualifiers [-fpermissive]
         sol.push_back(L.point(t1));
                                 ^
0_0_26789353_1958.cpp:89:55: error: passing 'const Line' as 'this' argument of 'Point Line::point(double)' discards qualifiers [-fpermissive]
     t1=(-f-sqrt(delta))/(2*e);sol.push_back(L.point(t1));
                                                       ^
0_0_26789353_1958.cpp:90:55: error: passing 'const Line' as 'this' argument of 'Point Line::point(double)' discards qualifiers [-fpermissive]
     t2=(-f+sqrt(delta))/(2*e);sol.push_back(L.point(t2));
                                                       ^


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-02 09:17:23, Gzip enabled