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_34097414_16571.cpp: In function 'int main()':
0_0_34097414_16571.cpp:33:108: error: expected ')' before ':' token
   for (i=1;i<n;i++) {x11=x[i][0];y11=y[i][0];x12=x[i][1];y12=y[i][1];dx1=x12-x11;dy1=y12-y11;m=(n<=1000)?(n:n-(n-i>>1));for (j=i+1;j<=m;j++)
                                                                                                            ^
0_0_34097414_16571.cpp:33:120: error: expected ':' before ';' token
   for (i=1;i<n;i++) {x11=x[i][0];y11=y[i][0];x12=x[i][1];y12=y[i][1];dx1=x12-x11;dy1=y12-y11;m=(n<=1000)?(n:n-(n-i>>1));for (j=i+1;j<=m;j++)
                                                                                                                        ^
0_0_34097414_16571.cpp:33:120: error: expected primary-expression before ';' token


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-28 12:29:55, Gzip enabled