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_21559410_19861.cpp: In function 'void tb()':
0_0_21559410_19861.cpp:61:60: error: no matching function for call to 'P::det(P)'
   while (k > 1 && (p[k - 1] - p[k - 2]).det(a[i] - p[k - 1]) < 0)
                                                            ^
0_0_21559410_19861.cpp:61:60: note: candidate is:
0_0_21559410_19861.cpp:41:6: note: int P::det(P&)
  int det(P &a)
      ^
0_0_21559410_19861.cpp:41:6: note:   no known conversion for argument 1 from 'P' to 'P&'
0_0_21559410_19861.cpp:67:60: error: no matching function for call to 'P::det(P)'
   while (k > t && (p[k - 1] - p[k - 2]).det(a[i] - p[k - 1]) < 0)
                                                            ^
0_0_21559410_19861.cpp:67:60: note: candidate is:
0_0_21559410_19861.cpp:41:6: note: int P::det(P&)
  int det(P &a)
      ^
0_0_21559410_19861.cpp:41:6: note:   no known conversion for argument 1 from 'P' to 'P&'


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-07-08 10:59:48, Gzip enabled