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_13797794_13016.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797794_13016.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797794_13016.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797794_13016.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797794_13016.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797794_13016.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797794_13016.cpp: In member function 'void point::Read()':
0_0_13797794_13016.cpp:13:21: error: 'scanf' was not declared in this scope
   scanf("%d%d",&x,&y);
                     ^
0_0_13797794_13016.cpp: At global scope:
0_0_13797794_13016.cpp:23:2: error: expected type-specifier before '{' token
  {
  ^
0_0_13797794_13016.cpp: In function 'double Distance(const point&, const point&)':
0_0_13797794_13016.cpp:30:65: error: 'sqrt' was not declared in this scope
  return sqrt( (p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y) );
                                                                 ^
0_0_13797794_13016.cpp: In function 'double Kruskal(int)':
0_0_13797794_13016.cpp:49:24: error: 'sort' was not declared in this scope
  sort(edges+1,edges+m+1);
                        ^
0_0_13797794_13016.cpp:51:2: error: expected ';' before '{' token
  {
  ^
0_0_13797794_13016.cpp:51:2: error: expected primary-expression before '{' token
0_0_13797794_13016.cpp:51:2: error: expected ')' before '{' token
0_0_13797794_13016.cpp: In function 'int main()':
0_0_13797794_13016.cpp:64:2: error: 'cinnk' was not declared in this scope
  cinnk;
  ^
0_0_13797794_13016.cpp:66:3: error: expected ';' before 'points'
   points[i].Read();
   ^
0_0_13797794_13016.cpp:66:19: error: expected ')' before ';' token
   points[i].Read();
                   ^
0_0_13797794_13016.cpp:68:3: error: expected ';' before 'for'
   for(j=1;j
   ^
0_0_13797794_13016.cpp:68:3: error: expected primary-expression before 'for'
0_0_13797794_13016.cpp:68:3: error: expected ')' before 'for'
0_0_13797794_13016.cpp:69:4: error: expected ';' before 'if'
    if(i!=j)
    ^
0_0_13797794_13016.cpp:69:4: error: expected primary-expression before 'if'
0_0_13797794_13016.cpp:69:4: error: expected ')' before 'if'
0_0_13797794_13016.cpp:71:2: error: 'cout' was not declared in this scope
  cout
  ^


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-30 04:52:51, Gzip enabled