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_20613802_4422.cpp:15:5: error: expected unqualified-id before numeric constant
     0)             {               double t=dmult(oa,tmp)/dis(oa)/dis(tmp);               if(t>Max)                {                  Max=t;                  flag=1;                  find=i;               }            }            else if(tt<0)            {               double t=dmult(ob,tmp)/dis(ob)/dis(tmp);               if(t>Max)               {                  Max=t;flag=2;find=i;               }            }         }         printf("%d",find);         la=be;         be=find;         if(s)            putchar(' ');         else            putchar('\n');         if(flag==1)          {            ob.x=pp[la].x-pp[be].x;             ob.y=pp[la].y-pp[be].y;            oa.x=-ob.x;              oa.y=-ob.y;         }         else         {            oa.x=pp[la].x-pp[be].x;            oa.y=pp[la].y-pp[be].y;            ob.x=-oa.x;            ob.y=-oa.y;         }       }   }   return 0;}
     ^


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-29 18:07:03, Gzip enabled