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_29467440_11438.cpp:5:9: error: 'pair' does not name a type
 typedef pair <int,int> P;
         ^
0_0_29467440_11438.cpp: In function 'double Distance(Point, Point)':
0_0_29467440_11438.cpp:25:20: error: 'sqrt' was not declared in this scope
 return sqrt(X*X+Y*Y);
                    ^
0_0_29467440_11438.cpp: In function 'void input()':
0_0_29467440_11438.cpp:33:30: error: 'scanf' was not declared in this scope
 scanf("%d%d",&p[i].x, &p[i].y);
                              ^
0_0_29467440_11438.cpp: In function 'void solve()':
0_0_29467440_11438.cpp:49:11: error: 'sort' was not declared in this scope
 sort(p,p+n);//ลละ๒
           ^
0_0_29467440_11438.cpp:66:43: error: 'min' was not declared in this scope
 d[i][j] = min(d[i][j],d[j][k] + dist[i][k]);
                                           ^
0_0_29467440_11438.cpp: In function 'int main()':
0_0_29467440_11438.cpp:76:21: error: 'scanf' was not declared in this scope
 while(~scanf("%d",&n))
                     ^
0_0_29467440_11438.cpp:80:28: error: 'printf' was not declared in this scope
 printf("%.2f\n",d[n-1][n-1]);
                            ^


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 11:46:18, Gzip enabled