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_39166458_4510.cpp: In function 'bool Concave_or_Convex(Point*, int)':
0_0_39166458_4510.cpp:42:29: error: too many arguments to function 'double Cross(Vector, Vector)'
   42 |                 if(sgn(Cross(p[i-1]-p[i],p[i+1],p[i]))>0) {
      |                        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
0_0_39166458_4510.cpp:30:8: note: declared here
   30 | double Cross(Vector A,Vector 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-11-26 08:14:43, Gzip enabled