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]);
^
|