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_36945049_19990.cpp: In function 'int work()':
0_0_36945049_19990.cpp:36:75: error: expected primary-expression before '>=' token
            while(head<tail&&(Y(q[tail])-Y(q[tail-1]))*(X(j)-X(q[tail-1])))>=((Y(j)-Y(q[tail-1]))*(X(q[tail])-X(q[tail-1]))) --tail;
                                                                           ^
0_0_36945049_19990.cpp:36:125: error: lvalue required as decrement operand
            while(head<tail&&(Y(q[tail])-Y(q[tail-1]))*(X(j)-X(q[tail-1])))>=((Y(j)-Y(q[tail-1]))*(X(q[tail])-X(q[tail-1]))) --tail;
                                                                                                                             ^


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-01-11 07:54:58, Gzip enabled