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_33955157_30552.cpp: In function 'int main()':
0_0_33955157_30552.cpp:195:60: error: no matching function for call to 'circle_circle_intersection(Point<double>&, ftype&, Point<double>&, long double)'
   vtr = circle_circle_intersection(F, FD, E, fabsl(EA - DA));
                                                            ^
0_0_33955157_30552.cpp:195:60: note: candidate is:
0_0_33955157_30552.cpp:144:19: note: template<class T> std::vector<Point<T> > circle_circle_intersection(const Point<T>&, const T&, const Point<T>&, const T&, const bool&)
 vector<Point<T> > circle_circle_intersection(const Point<T> & o1, const T & r1, const Point<T> & o2, const T & r2, const bool & multiple = false)
                   ^
0_0_33955157_30552.cpp:144:19: note:   template argument deduction/substitution failed:
0_0_33955157_30552.cpp:195:60: note:   deduced conflicting types for parameter 'const T' ('double' and 'long double')
   vtr = circle_circle_intersection(F, FD, E, fabsl(EA - DA));
                                                            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 20:12:09, Gzip enabled