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_13797265_13857.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13797265_13857.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13797265_13857.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13797265_13857.cpp: In function 'int dcmp(double)':
0_0_13797265_13857.cpp:9:12: error: 'fabs' was not declared in this scope
   if(fabs(x) 
            ^
0_0_13797265_13857.cpp:10:4: error: expected ')' before 'return'
    return 0; 
    ^
0_0_13797265_13857.cpp:13:1: error: expected ';' before '}' token
 }
 ^
0_0_13797265_13857.cpp: In function 'bool SegmentProperIntersection(const Point&, const Point&, const Point&, const Point&)':
0_0_13797265_13857.cpp:38:1: error: expected ';' before '}' token
 }
 ^
0_0_13797265_13857.cpp: In function 'bool OnSegment(const Point&, const Point&, const Point&)':
0_0_13797265_13857.cpp:42:1: error: expected ';' before '}' token
 }
 ^
0_0_13797265_13857.cpp: At global scope:
0_0_13797265_13857.cpp:45:1: error: expected type-specifier before '{' token
 {
 ^
0_0_13797265_13857.cpp: In function 'int main()':
0_0_13797265_13857.cpp:56:22: error: 'scanf' was not declared in this scope
  while(~scanf("%d",&n),n)
                      ^
0_0_13797265_13857.cpp:59:3: error: expected ';' before '{' token
   {
   ^
0_0_13797265_13857.cpp:59:3: error: expected primary-expression before '{' token
0_0_13797265_13857.cpp:59:3: error: expected ')' before '{' token
0_0_13797265_13857.cpp:66:4: error: expected ';' before 'for'
    for(int j=i+1;j
    ^
0_0_13797265_13857.cpp:66:4: error: expected primary-expression before 'for'
0_0_13797265_13857.cpp:66:4: error: expected ')' before 'for'
0_0_13797265_13857.cpp:67:4: error: expected ';' before '{' token
    {
    ^
0_0_13797265_13857.cpp:67:4: error: expected primary-expression before '{' token
0_0_13797265_13857.cpp:67:4: error: expected ')' before '{' token
0_0_13797265_13857.cpp:72:15: error: 'sort' was not declared in this scope
   sort(v,v+len);
               ^
0_0_13797265_13857.cpp:73:23: error: 'unique' was not declared in this scope
   int c=unique(v,v+len)-v; //ȥ���ظ��ĵ�
                       ^
0_0_13797265_13857.cpp:75:4: error: expected ';' before 'for'
    for(int j=0;j
    ^
0_0_13797265_13857.cpp:75:4: error: expected primary-expression before 'for'
0_0_13797265_13857.cpp:75:4: error: expected ')' before 'for'
0_0_13797265_13857.cpp:76:5: error: expected ';' before 'if'
     if(OnSegment(v[i],p[j],p[j+1])) e++;
     ^
0_0_13797265_13857.cpp:76:5: error: expected primary-expression before 'if'
0_0_13797265_13857.cpp:76:5: error: expected ')' before 'if'
0_0_13797265_13857.cpp:79:56: error: 'printf' was not declared in this scope
   printf("Case %d: There are %d pieces.\n",kase++,e+2-c);
                                                        ^


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-12-02 12:42:44, Gzip enabled